Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/standard/tests/class_object/
H A Dclass_exists_basic_001.phpt5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
17 echo "Calling class_exists() on non-existent class with autoload explicitly enabled:\n";
19 echo "\nCalling class_exists() on existing class with autoload explicitly enabled:\n";
27 echo "\nCalling class_exists() on non-existent class with autoload unspecified:\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:
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:
[all …]
H A Dtrait_exists_basic_001.phpt5 /* Prototype : proto bool trait_exists(string traitname [, bool autoload])
19 echo "Calling trait_exists() on non-existent trait with autoload explicitly enabled:\n";
21 echo "\nCalling trait_exists() on existing trait with autoload explicitly enabled:\n";
29 echo "\nCalling trait_exists() on non-existent trait with autoload unspecified:\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:
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:
[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";
24 *** Testing interface_exists() : test autoload default value ***
H A Dinterface_exists_error.phpt5 /* Prototype : bool interface_exists(string classname [, bool autoload])
20 $autoload = true;
22 var_dump( interface_exists($classname, $autoload, $extra_arg) );
H A Dclass_exists_error_001.phpt5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
24 $autoload = true;
26 var_dump( class_exists($classname, $autoload, $extra_arg) );
H A Dtrait_exists_error_001.phpt5 /* Prototype : proto bool trait_exists(string traitname [, bool autoload])
24 $autoload = true;
26 var_dump( trait_exists($traitname, $autoload, $extra_arg) );
/PHP-5.5/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_uses_variation.phpt2 SPL: Test class_uses() function : variation - no interfaces and autoload
5 /* Prototype : array class_uses(mixed what [, bool autoload ])
18 echo "\n--- testing autoload ---\n";
24 echo "attempting to autoload $classname\n";
37 --- testing autoload ---
38 attempting to autoload non_existent
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 ])
18 echo "\n--- testing autoload ---\n";
24 echo "attempting to autoload $classname\n";
37 --- testing autoload ---
38 attempting to autoload non_existent
H A Dspl_autoload_011.phpt9 public function autoload() {
20 spl_autoload_register(array($a, 'autoload'));
/PHP-5.5/Zend/tests/
H A Dbug46813.phpt15 echo "autoload == true:\n";
17 echo "autoload == false:\n";
21 autoload == true:
23 autoload == false:
H A Dbug46665.phpt2 Bug #46665 (Triggering autoload with a variable classname causes truncated autoload param)
/PHP-5.5/tests/classes/
H A Dautoload_010.phpt2 Ensure implements does trigger autoload.
7 echo "In autoload: ";
16 In autoload: string(6) "UndefI"
H A Dautoload_011.phpt2 Ensure extends does trigger autoload.
7 echo "In autoload: ";
16 In autoload: string(9) "UndefBase"
H A Dautoload_012.phpt2 Ensure callback methods in unknown classes trigger autoload.
7 echo "In autoload: ";
13 In autoload: string(6) "UndefC"
H A Dautoload_013.phpt2 Ensure the ReflectionClass constructor triggers autoload.
9 echo "In autoload: ";
21 In autoload: string(6) "UndefC"
H A Dautoload_014.phpt2 Ensure the ReflectionMethod constructor triggers autoload.
9 echo "In autoload: ";
21 In autoload: string(6) "UndefC"
H A Dautoload_015.phpt2 Ensure the ReflectionProperty constructor triggers autoload.
9 echo "In autoload: ";
21 In autoload: string(6) "UndefC"
H A Dautoload_017.phpt2 Ensure ReflectionClass::implementsInterface triggers autoload.
9 echo "In autoload: ";
22 In autoload: string(6) "UndefI"
H A Dautoload_016.phpt2 Ensure ReflectionClass::getProperty() triggers autoload
9 echo "In autoload: ";
22 In autoload: string(6) "undefc"
H A Dautoload_007.phpt2 Ensure instanceof does not trigger autoload.
7 echo "In autoload: ";
H A Dautoload_020.phpt7 echo "in autoload: $name\n";
13 in autoload: C
H A Dautoload_009.phpt2 Ensure type hints for unknown types do not trigger autoload.
7 echo "In autoload: ";
H A Dautoload_008.phpt2 Ensure catch blocks for unknown exception types do not trigger autoload.
7 echo "In autoload: ";
/PHP-5.5/Zend/tests/generators/
H A Dbug65161.phpt2 Bug #65161: Generator + autoload + syntax error = segfault
6 function autoload() {
9 spl_autoload_register('autoload');

Completed in 26 milliseconds

123