Searched refs:is_subclass_of (Results 1 – 11 of 11) sorted by relevance
/PHP-8.1/ext/standard/tests/class_object/ |
H A D | is_a.phpt | 2 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 D | is_subclass_of_variation_003.phpt | 2 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 D | is_subclass_of_variation_001.phpt | 2 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 D | is_subclass_of_variation_004.phpt | 2 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.1/Zend/tests/ |
H A D | class_alias_018.phpt | 2 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 D | is_a.phpt | 2 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 D | bug53727.phpt | 2 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.1/tests/classes/ |
H A D | bug24399.phpt | 2 Bug #24399 (is_subclass_of() crashes when parent class doesn't exist) 9 var_dump(is_subclass_of($d, 'dooh'));
|
/PHP-8.1/Zend/ |
H A D | zend_builtin_functions.stub.php | 42 function is_subclass_of(mixed $object_or_class, string $class, bool $allow_string = true): bool {} function
|
H A D | zend_builtin_functions_arginfo.h | 235 ZEND_FUNCTION(is_subclass_of); 296 ZEND_FE(is_subclass_of, arginfo_is_subclass_of)
|
H A D | zend_builtin_functions.c | 651 ZEND_FUNCTION(is_subclass_of) in ZEND_FUNCTION() argument
|
Completed in 25 milliseconds