/PHP-5.4/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-5.4/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_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 | 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 | spl_autoload_011.phpt | 9 public function autoload() { 20 spl_autoload_register(array($a, 'autoload'));
|
/PHP-5.4/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-5.4/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_009.phpt | 2 Ensure type hints for unknown types do not trigger autoload. 7 echo "In autoload: ";
|
H A D | autoload_008.phpt | 2 Ensure catch blocks for unknown exception types do not trigger autoload. 7 echo "In autoload: ";
|
/PHP-5.4/ext/spl/ |
H A D | php_spl.c | 65 static zend_class_entry * spl_find_ce_by_name(char *name, int len, zend_bool autoload TSRMLS_DC) in spl_find_ce_by_name() 70 if (!autoload) { in spl_find_ce_by_name() 96 zend_bool autoload = 1; in PHP_FUNCTION() local 98 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|b", &obj, &autoload) == FAILURE) { in PHP_FUNCTION() 129 zend_bool autoload = 1; in PHP_FUNCTION() local 132 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|b", &obj, &autoload) == FAILURE) { in PHP_FUNCTION() 158 zend_bool autoload = 1; in PHP_FUNCTION() local 161 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|b", &obj, &autoload) == FAILURE) { in PHP_FUNCTION() 861 ZEND_ARG_INFO(0, autoload) 866 ZEND_ARG_INFO(0, autoload) [all …]
|