Home
last modified time | relevance | path

Searched refs:autoload (Results 26 – 50 of 63) sorted by relevance

123

/php-src/ext/spl/
H A Dphp_spl.stub.php10 function class_implements($object_or_class, bool $autoload = true): array|false {} argument
17 function class_parents($object_or_class, bool $autoload = true): array|false {} argument
24 function class_uses($object_or_class, bool $autoload = true): array|false {} argument
H A Dphp_spl.c46 static zend_class_entry * spl_find_ce_by_name(zend_string *name, bool autoload) in spl_find_ce_by_name() argument
50 if (!autoload) { in spl_find_ce_by_name()
71 bool autoload = 1; in PHP_FUNCTION() local
74 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|b", &obj, &autoload) == FAILURE) { in PHP_FUNCTION()
84 if (NULL == (ce = spl_find_ce_by_name(Z_STR_P(obj), autoload))) { in PHP_FUNCTION()
104 bool autoload = 1; in PHP_FUNCTION() local
108 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|b", &obj, &autoload) == FAILURE) { in PHP_FUNCTION()
117 if (NULL == (ce = spl_find_ce_by_name(Z_STR_P(obj), autoload))) { in PHP_FUNCTION()
133 bool autoload = 1; in PHP_FUNCTION() local
137 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|b", &obj, &autoload) == FAILURE) { in PHP_FUNCTION()
[all …]
/php-src/tests/classes/
H A Dautoload_007.phpt2 Ensure instanceof does not trigger autoload.
6 echo "In autoload: ";
H A Dautoload_019.phpt6 echo "autoload $name\n";
13 autoload unDefinedClass
H A Dautoload_020.phpt6 echo "in autoload: $name\n";
12 in autoload: C
H A Dautoload_001.phpt12 echo 'autoload(' . $class_name . ")\n";
19 autoload(autoload_root)
H A Dautoload_002.phpt12 echo 'autoload(' . $class_name . ")\n";
19 autoload(autoload_root)
H A Dautoload_008.phpt2 Ensure catch blocks for unknown exception types do not trigger autoload.
6 echo "In autoload: ";
H A Dautoload_009.phpt2 Ensure type hints for unknown types do not trigger autoload.
6 echo "In autoload: ";
H A Dautoload_021.phpt2 Validation of class names in the autoload process
/php-src/ext/standard/tests/class_object/
H A Dmethod_exists_basic_003.phpt6 echo "In autoload($name)\n";
14 In autoload(UndefC)
H A Dis_subclass_of_variation_001.phpt7 echo "In autoload($className)\n";
159 In autoload(string)
163 In autoload(String)
H A Dis_subclass_of_variation_004.phpt7 echo "In autoload($className)\n";
159 In autoload(string)
163 In autoload(String)
/php-src/Zend/tests/
H A Dbug46665.phpt2 Bug #46665 (Triggering autoload with a variable classname causes truncated autoload param)
H A Dbug63741.phpt23 static function autoload($classname)
31 spl_autoload_register(["autoloader", "autoload"]);
H A Dclass_alias_007.phpt2 Testing class_alias() using autoload
H A Dbug65254.phpt2 Bug #65254 (Exception not catchable when exception thrown in autoload with a namespace)
H A Dbug47699.phpt2 Bug #47699 (autoload and late static binding)
H A Dexception_during_variance_autoload_2.phpt2 Exception during delayed variance autoload (variation 2)
/php-src/Zend/
H A Dzend_builtin_functions.stub.php81 function class_exists(string $class, bool $autoload = true): bool {} argument
83 function interface_exists(string $interface, bool $autoload = true): bool {} argument
85 function trait_exists(string $trait, bool $autoload = true): bool {} argument
87 function enum_exists(string $enum, bool $autoload = true): bool {} argument
91 function class_alias(string $class, string $alias, bool $autoload = true): bool {} argument
H A Dzend_builtin_functions_arginfo.h98 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true")
103 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true")
108 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true")
113 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true")
123 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true")
/php-src/ext/spl/tests/
H A Dspl_autoload_011.phpt9 public function autoload() {
20 spl_autoload_register(array($a, 'autoload'));
/php-src/ext/opcache/tests/
H A Dpreload_variance_ind.inc4 echo "Trying to autoload $class\n";
/php-src/ext/reflection/tests/
H A Dbug26640.phpt11 print "autoload success\n";
/php-src/ext/session/tests/
H A Dbug53141.phpt2 Bug #53141 (autoload misbehaves if called from closing session)

Completed in 29 milliseconds

123