Home
last modified time | relevance | path

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

/PHP-8.0/ext/spl/tests/
H A Dclass_implements_variation.phpt2 SPL: Test class_implements() function : variation - no interfaces and autoload
5 echo "*** Testing class_implements() : variation ***\n";
9 var_dump(class_implements(new fs));
10 var_dump(class_implements('fs'));
17 var_dump(class_implements('non_existent'));
18 var_dump(class_implements('non_existent2', false));
22 *** Testing class_implements() : variation ***
32 Warning: class_implements(): Class non_existent does not exist and could not be loaded in %s on lin…
35 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 echo "*** Testing class_implements() : basic ***\n";
20 s_var_dump(class_implements(new foobarImpl));
21 s_var_dump(class_implements('foobarImpl'));
22 s_var_dump(class_implements(new fooViaBarImpl));
23 s_var_dump(class_implements('fooViaBarImpl'));
24 s_var_dump(class_implements(new fooExtended));
25 s_var_dump(class_implements('fooExtended'));
34 *** Testing class_implements() : basic ***
H A Dclass_implements_variation1.phpt2 SPL: Test class_implements() function : variation
5 echo "*** Testing class_implements() : variation ***\n";
103 var_dump( class_implements($value, $autoload) );
113 *** Testing class_implements() : variation ***
116 class_implements(): Argument #1 ($object_or_class) must be of type object|string, int given
119 class_implements(): Argument #1 ($object_or_class) must be of type object|string, int given
122 class_implements(): Argument #1 ($object_or_class) must be of type object|string, int given
125 class_implements(): Argument #1 ($object_or_class) must be of type object|string, int given
155 class_implements(): Argument #1 ($object_or_class) must be of type object|string, null given
173 Error: 2 - class_implements(): Class does not exist and could not be loaded, %s(%d)
[all …]
H A Dclass_implements_basic.phpt2 SPL: Test class_implements() function : basic
5 echo "*** Testing class_implements() : basic ***\n";
11 var_dump(class_implements(new bar));
12 var_dump(class_implements('bar'));
17 *** Testing class_implements() : basic ***
H A Dspl_003.phpt2 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)
64 Warning: class_implements(): Class aaa does not exist and could not be loaded in %sspl_003.php on l…
66 Warning: class_implements(): Class bbb does not exist in %sspl_003.php on line %d
H A Dclass_uses_basic.phpt2 SPL: Test class_implements() function : basic
/PHP-8.0/Zend/tests/
H A Dbug77652.phpt9 print_r(class_implements($data['I']()));
/PHP-8.0/ext/spl/
H A Dphp_spl_arginfo.h65 ZEND_FUNCTION(class_implements);
83 ZEND_FE(class_implements, arginfo_class_implements)
H A Dphp_spl.stub.php6 function class_implements($object_or_class, bool $autoload = true): array|false {} function
H A Dphp_spl.c112 PHP_FUNCTION(class_implements) in PHP_FUNCTION() argument

Completed in 17 milliseconds