Searched refs:class_uses (Results 1 – 8 of 8) sorted by relevance
/PHP-7.4/ext/spl/tests/ |
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 ]) 11 echo "*** Testing class_uses() : variation ***\n"; 15 var_dump(class_uses(new fs)); 16 var_dump(class_uses('fs')); 23 var_dump(class_uses('non_existent')); 24 var_dump(class_uses('non_existent2', false)); 29 *** Testing class_uses() : variation *** 39 Warning: class_uses(): Class non_existent does not exist and could not be loaded in %s on line %d 42 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 /* Prototype : array class_uses(mixed what [, bool autoload ]) 11 echo "*** Testing class_uses() : variation ***\n"; 108 var_dump( class_uses($value, $autoload) ); 116 *** Testing class_uses() : variation *** 119 Error: 2 - class_uses(): object or string expected, %s(%d) 123 Error: 2 - class_uses(): object or string expected, %s(%d) 127 Error: 2 - class_uses(): object or string expected, %s(%d) 131 Error: 2 - class_uses(): object or string expected, %s(%d) 135 Error: 2 - class_uses(): object or string expected, %s(%d) [all …]
|
H A D | class_uses_basic2.phpt | 2 SPL: Test class_uses() function : basic 5 /* Prototype : array class_uses(mixed what [, bool autoload ]) 11 echo "*** Testing class_uses() : basic ***\n"; 29 s_var_dump(class_uses(new foobarUser)); 30 s_var_dump(class_uses('foobarUser')); 31 s_var_dump(class_uses(new fooViaBarUser)); 32 s_var_dump(class_uses('fooViaBarUser')); 33 s_var_dump(class_uses(new fooExtended)); 34 s_var_dump(class_uses('fooExtended')); 44 *** Testing class_uses() : basic ***
|
H A D | class_uses_basic.phpt | 5 /* Prototype : array class_uses(mixed what [, bool autoload ]) 11 echo "*** Testing class_uses() : basic ***\n"; 17 var_dump(class_uses(new bar)); 18 var_dump(class_uses('bar')); 24 *** 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-7.4/ext/spl/ |
H A D | php_spl.h | 71 PHP_FUNCTION(class_uses);
|
H A D | php_spl.c | 149 PHP_FUNCTION(class_uses) in PHP_FUNCTION() argument 987 PHP_FE(class_uses, arginfo_class_uses)
|
/PHP-7.4/ |
H A D | NEWS | 2446 . Fixed bug #77360 (class_uses causes segfault). (Lauri Kenttä)
|
Completed in 16 milliseconds