Searched refs:autoload (Results 1 – 25 of 62) sorted by relevance
123
/PHP-7.1/ext/standard/tests/class_object/ |
H A D | class_exists_basic_001.phpt | 5 /* 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 D | trait_exists_basic_001.phpt | 5 /* 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 D | interface_exists_variation4.phpt | 2 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 D | interface_exists_error.phpt | 5 /* Prototype : bool interface_exists(string classname [, bool autoload]) 20 $autoload = true; 22 var_dump( interface_exists($classname, $autoload, $extra_arg) );
|
H A D | class_exists_error_001.phpt | 5 /* Prototype : proto bool class_exists(string classname [, bool autoload]) 24 $autoload = true; 26 var_dump( class_exists($classname, $autoload, $extra_arg) );
|
H A D | trait_exists_error_001.phpt | 5 /* Prototype : proto bool trait_exists(string traitname [, bool autoload]) 24 $autoload = true; 26 var_dump( trait_exists($traitname, $autoload, $extra_arg) );
|
/PHP-7.1/ext/spl/tests/ |
H A D | bug40091.phpt | 7 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 D | class_implements_variation.phpt | 2 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 D | class_uses_variation.phpt | 2 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 D | bug73896.phpt | 13 Registrator::call('spl_autoload_register', [$this, 'autoload']); 20 protected function autoload($class) { 21 die("Protected autoload() called!\n");
|
H A D | spl_autoload_011.phpt | 9 public function autoload() { 20 spl_autoload_register(array($a, 'autoload'));
|
/PHP-7.1/Zend/tests/ |
H A D | bug46813.phpt | 15 echo "autoload == true:\n"; 17 echo "autoload == false:\n"; 21 autoload == true: 23 autoload == false:
|
H A D | bug46665.phpt | 2 Bug #46665 (Triggering autoload with a variable classname causes truncated autoload param)
|
/PHP-7.1/Zend/tests/generators/ |
H A D | bug65161.phpt | 2 Bug #65161: Generator + autoload + syntax error = segfault 6 function autoload() { 9 spl_autoload_register('autoload'); 22 #0 [internal function]: autoload('SyntaxError')
|
/PHP-7.1/tests/classes/ |
H A D | autoload_010.phpt | 2 Ensure implements does trigger autoload. 7 echo "In autoload: "; 16 In autoload: string(6) "UndefI"
|
H A D | autoload_011.phpt | 2 Ensure extends does trigger autoload. 7 echo "In autoload: "; 16 In autoload: string(9) "UndefBase"
|
H A D | autoload_012.phpt | 2 Ensure callback methods in unknown classes trigger autoload. 7 echo "In autoload: "; 13 In autoload: string(6) "UndefC"
|
H A D | autoload_013.phpt | 2 Ensure the ReflectionClass constructor triggers autoload. 9 echo "In autoload: "; 21 In autoload: string(6) "UndefC"
|
H A D | autoload_014.phpt | 2 Ensure the ReflectionMethod constructor triggers autoload. 9 echo "In autoload: "; 21 In autoload: string(6) "UndefC"
|
H A D | autoload_015.phpt | 2 Ensure the ReflectionProperty constructor triggers autoload. 9 echo "In autoload: "; 21 In autoload: string(6) "UndefC"
|
H A D | autoload_017.phpt | 2 Ensure ReflectionClass::implementsInterface triggers autoload. 9 echo "In autoload: "; 22 In autoload: string(6) "UndefI"
|
H A D | autoload_016.phpt | 2 Ensure ReflectionClass::getProperty() triggers autoload 9 echo "In autoload: "; 22 In autoload: string(6) "undefc"
|
H A D | autoload_007.phpt | 2 Ensure instanceof does not trigger autoload. 7 echo "In autoload: ";
|
H A D | autoload_020.phpt | 7 echo "in autoload: $name\n"; 13 in autoload: C
|
H A D | autoload_008.phpt | 2 Ensure catch blocks for unknown exception types do not trigger autoload. 7 echo "In autoload: ";
|
Completed in 32 milliseconds
123