Home
last modified time | relevance | path

Searched refs:class_implements (Results 1 – 11 of 11) sorted by relevance

/PHP-5.6/ext/spl/tests/
H A Dclass_implements_variation1.phpt2 SPL: Test class_implements() function : variation
5 /* Prototype : array class_implements(mixed what [, bool autoload ])
11 echo "*** Testing class_implements() : variation ***\n";
108 var_dump( class_implements($value, $autoload) );
116 *** Testing class_implements() : variation ***
119 Error: 2 - class_implements(): object or string expected, %s(%d)
123 Error: 2 - class_implements(): object or string expected, %s(%d)
127 Error: 2 - class_implements(): object or string expected, %s(%d)
131 Error: 2 - class_implements(): object or string expected, %s(%d)
135 Error: 2 - class_implements(): object or string expected, %s(%d)
[all …]
H A Dclass_implements_variation.phpt2 SPL: Test class_implements() function : variation - no interfaces and autoload
5 /* Prototype : array class_implements(mixed what [, bool autoload ])
11 echo "*** Testing class_implements() : variation ***\n";
15 var_dump(class_implements(new fs));
16 var_dump(class_implements('fs'));
19 var_dump(class_implements('non_existent'));
20 var_dump(class_implements('non_existent2', false));
30 *** Testing class_implements() : variation ***
40 Warning: class_implements(): Class non_existent does not exist and could not be loaded in %s on lin…
43 Warning: class_implements(): Class non_existent2 does not exist in %s on line %d
H A Dclass_implements_basic2.phpt2 SPL: Test class_implements() function : basic
5 /* Prototype : array class_implements(mixed what [, bool autoload ])
11 echo "*** Testing class_implements() : basic ***\n";
26 s_var_dump(class_implements(new foobarImpl));
27 s_var_dump(class_implements('foobarImpl'));
28 s_var_dump(class_implements(new fooViaBarImpl));
29 s_var_dump(class_implements('fooViaBarImpl'));
30 s_var_dump(class_implements(new fooExtended));
31 s_var_dump(class_implements('fooExtended'));
41 *** Testing class_implements() : basic ***
H A Dclass_implements_basic.phpt2 SPL: Test class_implements() function : basic
5 /* Prototype : array class_implements(mixed what [, bool autoload ])
11 echo "*** Testing class_implements() : basic ***\n";
17 var_dump(class_implements(new bar));
18 var_dump(class_implements('bar'));
24 *** Testing class_implements() : basic ***
H A Dspl_003.phpt2 SPL: class_parents() and class_implements()
21 var_dump(class_implements(new a),
22 class_implements("a"),
23 class_implements("aaa"),
24 class_implements("bbb", 0)
65 Warning: class_implements(): Class aaa does not exist and could not be loaded in %sspl_003.php on l…
67 Warning: class_implements(): Class bbb does not exist in %sspl_003.php on line %d
H A Dclass_implements_variation2.phpt2 SPL: Test class_implements() function : variation
5 /* Prototype : array class_implements(mixed what [, bool autoload ])
11 echo "*** Testing class_implements() : variation ***\n";
108 var_dump( class_implements($class, $value) );
116 *** Testing class_implements() : variation ***
173 Error: 2 - class_implements() expects parameter 2 to be boolean, array given, %s(%d)
177 Error: 2 - class_implements() expects parameter 2 to be boolean, array given, %s(%d)
181 Error: 2 - class_implements() expects parameter 2 to be boolean, array given, %s(%d)
185 Error: 2 - class_implements() expects parameter 2 to be boolean, array given, %s(%d)
237 Error: 2 - class_implements() expects parameter 2 to be boolean, object given, %s(%d)
[all …]
H A Dclass_uses_basic.phpt2 SPL: Test class_implements() function : basic
/PHP-5.6/ext/spl/examples/
H A Dclass_tree.php50 $parent_imp = class_implements($parent);
52 foreach(class_implements($cname) as $iname)
68 foreach(class_implements($cname) as $iname)
88 $interfaces = array_diff(class_implements($result), class_implements($parent));
94 $implements = array_merge($implements, class_implements($interface));
/PHP-5.6/ext/spl/
H A Dphp_spl.h80 PHP_FUNCTION(class_implements);
H A Dphp_spl.c126 PHP_FUNCTION(class_implements) in PHP_FUNCTION() argument
933 PHP_FE(class_implements, arginfo_class_implements)
/PHP-5.6/
H A DNEWS10743 class_implements(). (Andrey)

Completed in 89 milliseconds