Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/class_object/
H A Dis_a.phpt2 is_a and is_subclass_of behaviour (with and without autoload)
21 …echo str_pad('is_subclass_of( OBJECT:'.get_class($this).', '.$sub.') = ', 60). (is_subclass_of($t…
22 …echo str_pad('is_subclass_of( STRING:'.get_class($this).', '.$sub.') = ', 60). (is_subclass_of(get…
29 …echo str_pad('is_subclass_of( STRING:undefB, '.$sub.',false) = ', 60). (is_subclass_of('undefB', …
30 …echo str_pad('is_subclass_of( STRING:undefB, '.$sub.') = ', 60). (is_subclass_of('undefB', $sub) …
89 is_subclass_of( OBJECT:base, base) = no
90 is_subclass_of( STRING:base, base) = no
91 is_subclass_of( STRING:base, base,false) = no
95 is_subclass_of( STRING:undefB, base,false) = no
96 is_subclass_of( STRING:undefB, base) = no
[all …]
H A Dis_subclass_of_variation_003.phpt2 Test is_subclass_of() function : usage variations - case sensitivity
5 echo "*** Testing is_subclass_of() : usage variations ***\n";
12 var_dump(is_subclass_of('caseSensitivityTestCHILD', 'caseSensitivityTEST'));
17 *** Testing is_subclass_of() : usage variations ***
H A Dis_subclass_of_variation_001.phpt2 Test is_subclass_of() function : usage variations - unexpected type for arg 1
16 echo "*** Testing is_subclass_of() : usage variations ***\n";
77 var_dump( is_subclass_of($value, $class_name) );
83 *** Testing is_subclass_of() : usage variations ***
H A Dis_subclass_of_variation_004.phpt2 Test is_subclass_of() function : usage variations - unexpected type for arg 1 with valid class in …
16 echo "*** Testing is_subclass_of() : usage variations ***\n";
77 var_dump( is_subclass_of($value, $class_name) );
83 *** Testing is_subclass_of() : usage variations ***
/PHP-8.0/Zend/tests/
H A Dclass_alias_018.phpt2 Testing class alias with is_subclass_of()
15 var_dump(is_subclass_of(new foo, 'foo'));
16 var_dump(is_subclass_of(new foo, 'bar'));
17 var_dump(is_subclass_of(new foo, 'baz'));
19 var_dump(is_subclass_of(new bar, 'foo'));
20 var_dump(is_subclass_of(new bar, 'bar'));
21 var_dump(is_subclass_of(new bar, 'baz'));
23 var_dump(is_subclass_of(new baz, 'foo'));
24 var_dump(is_subclass_of(new baz, 'bar'));
25 var_dump(is_subclass_of(new baz, 'baz'));
H A Dis_a.phpt2 is_a() and is_subclass_of() shouldn't call autoloader
26 var_dump(is_subclass_of($a, "B2"));
27 var_dump(is_subclass_of($a, "A"));
28 var_dump(is_subclass_of($a, "BASE"));
29 var_dump(is_subclass_of($a, "I"));
31 var_dump(is_subclass_of("X1", "X2"));
H A Dbug53727.phpt2 Bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
13 echo (is_subclass_of('ChildClass', 'MyInterface') ? 'true' : 'false') . "\n";
16 echo (is_subclass_of('ParentClass', 'MyInterface') ? 'true' : 'false') . "\n";
/PHP-8.0/tests/classes/
H A Dbug24399.phpt2 Bug #24399 (is_subclass_of() crashes when parent class doesn't exist)
9 var_dump(is_subclass_of($d, 'dooh'));
/PHP-8.0/Zend/
H A Dzend_builtin_functions.stub.php37 function is_subclass_of(mixed $object_or_class, string $class, bool $allow_string = true): bool {} function
H A Dzend_builtin_functions_arginfo.h230 ZEND_FUNCTION(is_subclass_of);
290 ZEND_FE(is_subclass_of, arginfo_is_subclass_of)
H A Dzend_builtin_functions.c687 ZEND_FUNCTION(is_subclass_of) in ZEND_FUNCTION() argument

Completed in 14 milliseconds