Searched refs:class_implements (Results 1 – 11 of 11) sorted by relevance
/PHP-5.4/ext/spl/tests/ |
H A D | class_implements_variation1.phpt | 2 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 D | class_implements_variation.phpt | 2 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 D | class_implements_basic2.phpt | 2 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 D | class_implements_basic.phpt | 2 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 D | spl_003.phpt | 2 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 D | class_implements_variation2.phpt | 2 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 D | class_uses_basic.phpt | 2 SPL: Test class_implements() function : basic
|
/PHP-5.4/ext/spl/examples/ |
H A D | class_tree.php | 50 $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.4/ext/spl/ |
H A D | php_spl.h | 85 PHP_FUNCTION(class_implements);
|
H A D | php_spl.c | 126 PHP_FUNCTION(class_implements) in PHP_FUNCTION() argument 918 PHP_FE(class_implements, arginfo_class_implements)
|
/PHP-5.4/ |
H A D | NEWS | 7976 class_implements(). (Andrey)
|
Completed in 44 milliseconds