Searched refs:class_uses (Results 1 – 8 of 8) sorted by relevance
/PHP-5.6/ext/spl/tests/ |
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_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')); 19 var_dump(class_uses('non_existent')); 20 var_dump(class_uses('non_existent2', false)); 30 *** Testing class_uses() : variation *** 40 Warning: class_uses(): Class non_existent does not exist and could not be loaded in %s on line %d 43 Warning: class_uses(): Class non_existent2 does not exist in %s on line %d
|
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 | class_uses_variation2.phpt | 2 SPL: Test class_uses() function : variation 5 /* Prototype : array class_uses(mixed what [, bool autoload ]) 11 echo "*** Testing class_uses() : variation ***\n"; 110 var_dump( class_uses($class, $value) ); 118 *** Testing class_uses() : variation *** 175 Error: 2 - class_uses() expects parameter 2 to be boolean, array given, %s(%d) 179 Error: 2 - class_uses() expects parameter 2 to be boolean, array given, %s(%d) 183 Error: 2 - class_uses() expects parameter 2 to be boolean, array given, %s(%d) 187 Error: 2 - class_uses() expects parameter 2 to be boolean, array given, %s(%d) 239 Error: 2 - class_uses() expects parameter 2 to be boolean, object given, %s(%d) [all …]
|
/PHP-5.6/ext/spl/ |
H A D | php_spl.h | 81 PHP_FUNCTION(class_uses);
|
H A D | php_spl.c | 155 PHP_FUNCTION(class_uses) in PHP_FUNCTION() argument 934 PHP_FE(class_uses, arginfo_class_uses)
|
/PHP-5.6/ |
H A D | NEWS | 5094 . Added missing class_uses(..) as pointed out by #55266 (Stefan)
|
Completed in 74 milliseconds