Searched refs:class_implements (Results 1 – 11 of 11) sorted by relevance
/PHP-7.2/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')); 23 var_dump(class_implements('non_existent')); 24 var_dump(class_implements('non_existent2', false)); 29 *** Testing class_implements() : variation *** 39 Warning: class_implements(): Class non_existent does not exist and could not be loaded in %s on lin… 42 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() 26 var_dump(class_implements(new a), 27 class_implements("a"), 28 class_implements("aaa"), 29 class_implements("bbb", 0) 66 Warning: class_implements(): Class aaa does not exist and could not be loaded in %sspl_003.php on l… 68 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-7.2/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-7.2/Zend/tests/ |
H A D | bug77652.phpt | 9 print_r(class_implements($data['I']()));
|
/PHP-7.2/ext/spl/ |
H A D | php_spl.h | 70 PHP_FUNCTION(class_implements);
|
H A D | php_spl.c | 120 PHP_FUNCTION(class_implements) in PHP_FUNCTION() argument 961 PHP_FE(class_implements, arginfo_class_implements)
|
Completed in 23 milliseconds