Searched refs:class_uses (Results 1 – 8 of 8) sorted by relevance
/PHP-8.2/ext/spl/tests/ |
H A D | class_uses_variation.phpt | 2 SPL: Test class_uses() function : variation - no interfaces and autoload 5 echo "*** Testing class_uses() : variation ***\n"; 9 var_dump(class_uses(new fs)); 10 var_dump(class_uses('fs')); 17 var_dump(class_uses('non_existent')); 18 var_dump(class_uses('non_existent2', false)); 22 *** Testing class_uses() : variation *** 32 Warning: class_uses(): Class non_existent does not exist and could not be loaded in %s on line %d 35 Warning: class_uses(): Class non_existent2 does not exist in %s on line %d
|
H A D | class_uses_variation1.phpt | 2 SPL: Test class_uses() function : variation 5 echo "*** Testing class_uses() : variation ***\n"; 103 var_dump( class_uses($value, $autoload) ); 113 *** Testing class_uses() : variation *** 116 class_uses(): Argument #1 ($object_or_class) must be of type object|string, int given 119 class_uses(): Argument #1 ($object_or_class) must be of type object|string, int given 122 class_uses(): Argument #1 ($object_or_class) must be of type object|string, int given 125 class_uses(): Argument #1 ($object_or_class) must be of type object|string, int given 155 class_uses(): Argument #1 ($object_or_class) must be of type object|string, null given 173 Error: 2 - class_uses(): Class does not exist and could not be loaded, %s(%d) [all …]
|
H A D | class_uses_basic2.phpt | 2 SPL: Test class_uses() function : basic 5 echo "*** Testing class_uses() : basic ***\n"; 23 s_var_dump(class_uses(new foobarUser)); 24 s_var_dump(class_uses('foobarUser')); 25 s_var_dump(class_uses(new fooViaBarUser)); 26 s_var_dump(class_uses('fooViaBarUser')); 27 s_var_dump(class_uses(new fooExtended)); 28 s_var_dump(class_uses('fooExtended')); 37 *** Testing class_uses() : basic ***
|
H A D | class_uses_basic.phpt | 5 echo "*** Testing class_uses() : basic ***\n"; 11 var_dump(class_uses(new bar)); 12 var_dump(class_uses('bar')); 17 *** Testing class_uses() : basic ***
|
H A D | bug77360.phpt | 2 Bug #77360: class_uses causes segfault 9 var_dump(class_uses($str, false)); 10 var_dump(class_uses($str, false));
|
/PHP-8.2/ext/spl/ |
H A D | php_spl_arginfo.h | 67 ZEND_FUNCTION(class_uses); 85 ZEND_FE(class_uses, arginfo_class_uses)
|
H A D | php_spl.stub.php | 24 function class_uses($object_or_class, bool $autoload = true): array|false {} function
|
H A D | php_spl.c | 132 PHP_FUNCTION(class_uses) in PHP_FUNCTION() argument
|
Completed in 12 milliseconds