Home
last modified time | relevance | path

Searched refs:class_uses (Results 1 – 9 of 9) sorted by relevance

/PHP-5.4/ext/spl/tests/
H A Dclass_uses_variation1.phpt2 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 Dclass_uses_variation.phpt2 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 Dclass_uses_basic2.phpt2 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 Dclass_uses_basic.phpt5 /* 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 Dclass_uses_variation2.phpt2 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.4/ext/spl/
H A Dphp_spl.h86 PHP_FUNCTION(class_uses);
H A Dphp_spl.c155 PHP_FUNCTION(class_uses) in PHP_FUNCTION() argument
919 PHP_FE(class_uses, arginfo_class_uses)
/PHP-5.4/
H A DUPGRADING686 - class_uses()
H A DNEWS2327 . Added missing class_uses(..) as pointed out by #55266 (Stefan)

Completed in 38 milliseconds