Home
last modified time | relevance | path

Searched refs:autoload (Results 1 – 25 of 63) sorted by relevance

123

/PHP-8.1/tests/classes/
H A Dautoload_018.phpt6 echo "IN: autoload($name)\n";
16 echo "OUT: autoload($name)\n";
22 IN: autoload(UndefinedClass0)
23 IN: autoload(UndefinedClass1)
24 IN: autoload(UndefinedClass2)
25 IN: autoload(UndefinedClass3)
26 IN: autoload(UndefinedClass4)
27 IN: autoload(UndefinedClass5)
28 IN: autoload(UndefinedClass6)
29 IN: autoload(UndefinedClass7)
[all …]
H A Dautoload_013.phpt2 Ensure the ReflectionClass constructor triggers autoload.
6 echo "In autoload: ";
18 In autoload: string(6) "UndefC"
H A Dautoload_014.phpt2 Ensure the ReflectionMethod constructor triggers autoload.
6 echo "In autoload: ";
18 In autoload: string(6) "UndefC"
H A Dautoload_015.phpt2 Ensure the ReflectionProperty constructor triggers autoload.
6 echo "In autoload: ";
18 In autoload: string(6) "UndefC"
H A Dautoload_016.phpt2 Ensure ReflectionClass::getProperty() triggers autoload
6 echo "In autoload: ";
19 In autoload: string(6) "undefc"
H A Dautoload_017.phpt2 Ensure ReflectionClass::implementsInterface triggers autoload.
6 echo "In autoload: ";
19 In autoload: string(6) "UndefI"
H A Dautoload_003.phpt12 echo 'autoload(' . $class_name . ")\n";
19 autoload(autoload_root)
20 autoload(autoload_derived)
H A Dautoload_010.phpt2 Ensure implements does trigger autoload.
6 echo "In autoload: ";
15 In autoload: string(6) "UndefI"
H A Dautoload_011.phpt2 Ensure extends does trigger autoload.
6 echo "In autoload: ";
15 In autoload: string(9) "UndefBase"
H A Dautoload_012.phpt2 Ensure callback methods in unknown classes trigger autoload.
6 echo "In autoload: ";
16 In autoload: string(6) "UndefC"
H A Dautoload_004.phpt13 echo 'autoload(' . $class_name . ")\n";
22 autoload(autoload_root)
23 autoload(autoload_derived)
H A Dautoload_005.phpt13 echo 'autoload(' . $class_name . ")\n";
38 autoload(autoload_root)
39 autoload(autoload_derived)
/PHP-8.1/ext/standard/tests/class_object/
H A Dclass_exists_basic_001.phpt8 echo "In autoload($className)\n";
21 echo "\nCalling class_exists() on non-existent class with autoload unspecified:\n";
23 echo "\nCalling class_exists() on existing class with autoload unspecified:\n";
30 Calling class_exists() on non-existent class with autoload explicitly enabled:
31 In autoload(C)
34 Calling class_exists() on existing class with autoload explicitly enabled:
37 Calling class_exists() on non-existent class with autoload explicitly enabled:
40 Calling class_exists() on existing class with autoload explicitly disabled:
43 Calling class_exists() on non-existent class with autoload unspecified:
44 In autoload(E)
[all …]
H A Dtrait_exists_basic_001.phpt8 echo "In autoload($traitName)\n";
23 echo "\nCalling trait_exists() on non-existent trait with autoload unspecified:\n";
25 echo "\nCalling trait_exists() on existing trait with autoload unspecified:\n";
32 Calling trait_exists() on non-existent trait with autoload explicitly enabled:
33 In autoload(C)
36 Calling trait_exists() on existing trait with autoload explicitly enabled:
39 Calling trait_exists() on non-existent trait with autoload explicitly enabled:
42 Calling trait_exists() on existing trait with autoload explicitly disabled:
45 Calling trait_exists() on non-existent trait with autoload unspecified:
46 In autoload(E)
[all …]
H A Dinterface_exists_variation4.phpt2 Test interface_exists() function : test autoload default value
5 echo "*** Testing interface_exists() : test autoload default value ***\n";
17 *** Testing interface_exists() : test autoload default value ***
H A Dis_a.phpt25 // with autoload options..
64 echo ">>>> In autoload: ";
201 >>>> In autoload: string(6) "undefB"
205 >>>> In autoload: string(6) "undefB"
216 >>>> In autoload: string(6) "undefB"
220 >>>> In autoload: string(6) "undefB"
231 >>>> In autoload: string(6) "undefB"
235 >>>> In autoload: string(6) "undefB"
246 >>>> In autoload: string(6) "undefB"
250 >>>> In autoload: string(6) "undefB"
[all …]
/PHP-8.1/ext/spl/tests/
H A Dbug40091.phpt7 function autoload($class_name) {
8 // code to autoload based on directory
13 spl_autoload_register(array($autloader1, 'autoload'));
16 spl_autoload_register(array($autloader2, 'autoload'));
29 [1] => autoload
38 [1] => autoload
H A Dclass_implements_variation.phpt2 SPL: Test class_implements() function : variation - no interfaces and autoload
13 echo "attempting to autoload $classname\n";
16 echo "\n--- testing autoload ---\n";
29 --- testing autoload ---
30 attempting to autoload non_existent
H A Dclass_uses_variation.phpt2 SPL: Test class_uses() function : variation - no interfaces and autoload
13 echo "attempting to autoload $classname\n";
16 echo "\n--- testing autoload ---\n";
29 --- testing autoload ---
30 attempting to autoload non_existent
H A Dspl_autoload_called_scope.phpt8 spl_autoload_register([Test::class, 'autoload']);
11 public static function autoload($class) {
18 spl_autoload_register([Test2::class, 'autoload']);
H A Dbug73896.phpt13 Registrator::call('spl_autoload_register', [$this, 'autoload']);
20 protected function autoload($class) {
21 die("Protected autoload() called!\n");
/PHP-8.1/Zend/tests/
H A Dbug46813.phpt15 echo "autoload == true:\n";
17 echo "autoload == false:\n";
21 autoload == true:
23 autoload == false:
/PHP-8.1/Zend/tests/generators/
H A Dbug65161.phpt2 Bug #65161: Generator + autoload + syntax error = segfault
6 function autoload() {
9 spl_autoload_register('autoload');
22 #0 %s(%d): autoload('SyntaxError')
/PHP-8.1/ext/standard/tests/serialize/
H A Dserialization_objects_007.phpt6 echo "in autoload($name)\n";
22 in autoload(FOO)
24 in autoload(FOO)
/PHP-8.1/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

Completed in 19 milliseconds

123