Home
last modified time | relevance | path

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

1234

/PHP-7.2/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_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_003.phpt12 echo 'autoload(' . $class_name . ")\n";
20 autoload(autoload_root)
21 autoload(autoload_derived)
H A Dautoload_012.phpt2 Ensure callback methods in unknown classes trigger autoload.
6 echo "In autoload: ";
12 In autoload: string(6) "UndefC"
H A Dautoload_013.phpt2 Ensure the ReflectionClass constructor triggers autoload.
8 echo "In autoload: ";
20 In autoload: string(6) "UndefC"
H A Dautoload_014.phpt2 Ensure the ReflectionMethod constructor triggers autoload.
8 echo "In autoload: ";
20 In autoload: string(6) "UndefC"
H A Dautoload_015.phpt2 Ensure the ReflectionProperty constructor triggers autoload.
8 echo "In autoload: ";
20 In autoload: string(6) "UndefC"
H A Dautoload_017.phpt2 Ensure ReflectionClass::implementsInterface triggers autoload.
8 echo "In autoload: ";
21 In autoload: string(6) "UndefI"
H A Dautoload_016.phpt2 Ensure ReflectionClass::getProperty() triggers autoload
8 echo "In autoload: ";
21 In autoload: string(6) "undefc"
H A Dautoload_004.phpt13 echo 'autoload(' . $class_name . ")\n";
23 autoload(autoload_root)
24 autoload(autoload_derived)
/PHP-7.2/ext/standard/tests/class_object/
H A Dclass_exists_basic_001.phpt5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
14 echo "In autoload($className)\n";
29 echo "\nCalling class_exists() on existing class with autoload unspecified:\n";
36 Calling class_exists() on non-existent class with autoload explicitly enabled:
37 In autoload(C)
40 Calling class_exists() on existing class with autoload explicitly enabled:
43 Calling class_exists() on non-existent class with autoload explicitly enabled:
46 Calling class_exists() on existing class with autoload explicitly disabled:
49 Calling class_exists() on non-existent class with autoload unspecified:
50 In autoload(E)
[all …]
H A Dtrait_exists_basic_001.phpt5 /* Prototype : proto bool trait_exists(string traitname [, bool autoload])
14 echo "In autoload($traitName)\n";
31 echo "\nCalling trait_exists() on existing trait with autoload unspecified:\n";
38 Calling trait_exists() on non-existent trait with autoload explicitly enabled:
39 In autoload(C)
42 Calling trait_exists() on existing trait with autoload explicitly enabled:
45 Calling trait_exists() on non-existent trait with autoload explicitly enabled:
48 Calling trait_exists() on existing trait with autoload explicitly disabled:
51 Calling trait_exists() on non-existent trait with autoload unspecified:
52 In autoload(E)
[all …]
H A Dclass_exists_variation_002.phpt98 In autoload(string_val)
102 In autoload(string_val)
106 In autoload(string_val)
110 In autoload(string_val)
114 In autoload(string_val)
118 In autoload(string_val)
122 In autoload(string_val)
126 In autoload(string_val)
161 In autoload(string_val)
168 In autoload(string_val)
[all …]
H A Dtrait_exists_variation_002.phpt98 In autoload(string_val)
102 In autoload(string_val)
106 In autoload(string_val)
110 In autoload(string_val)
114 In autoload(string_val)
118 In autoload(string_val)
122 In autoload(string_val)
126 In autoload(string_val)
161 In autoload(string_val)
168 In autoload(string_val)
[all …]
H A Dinterface_exists_variation4.phpt2 Test interface_exists() function : test autoload default value
5 /* Prototype : bool interface_exists(string classname [, bool autoload])
11 echo "*** Testing interface_exists() : test autoload default value ***\n";
23 *** Testing interface_exists() : test autoload default value ***
H A Dclass_exists_variation_001.phpt5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
12 echo "In autoload($className)\n";
23 $autoload = true;
80 var_dump( class_exists($value, $autoload) );
91 In autoload(0)
95 In autoload(1)
99 In autoload(12345)
112 In autoload(101234567000)
153 In autoload(1)
160 In autoload(1)
H A Dtrait_exists_variation_001.phpt5 /* Prototype : proto bool trait_exists(string traitname [, bool autoload])
12 echo "In autoload($traitName)\n";
23 $autoload = true;
80 var_dump( trait_exists($value, $autoload) );
91 In autoload(0)
95 In autoload(1)
99 In autoload(12345)
112 In autoload(101234567000)
153 In autoload(1)
160 In autoload(1)
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-7.2/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'));
30 [1] => autoload
39 [1] => autoload
H A Dclass_implements_variation.phpt2 SPL: Test class_implements() function : variation - no interfaces and autoload
5 /* Prototype : array class_implements(mixed what [, bool autoload ])
19 echo "attempting to autoload $classname\n";
22 echo "\n--- testing autoload ---\n";
36 --- testing autoload ---
37 attempting to autoload non_existent
H A Dclass_uses_variation.phpt2 SPL: Test class_uses() function : variation - no interfaces and autoload
5 /* Prototype : array class_uses(mixed what [, bool autoload ])
19 echo "attempting to autoload $classname\n";
22 echo "\n--- testing autoload ---\n";
36 --- testing autoload ---
37 attempting to autoload non_existent
H A Dbug73896.phpt13 Registrator::call('spl_autoload_register', [$this, 'autoload']);
20 protected function autoload($class) {
21 die("Protected autoload() called!\n");
/PHP-7.2/Zend/tests/
H A Dbug46813.phpt15 echo "autoload == true:\n";
17 echo "autoload == false:\n";
21 autoload == true:
23 autoload == false:
/PHP-7.2/Zend/tests/generators/
H A Dbug65161.phpt2 Bug #65161: Generator + autoload + syntax error = segfault
6 function autoload() {
9 spl_autoload_register('autoload');
22 #0 [internal function]: autoload('SyntaxError')

Completed in 36 milliseconds

1234