Searched refs:is_a (Results 1 – 15 of 15) sorted by relevance
/PHP-8.2/tests/classes/ |
H A D | interface_implemented.phpt | 63 is_a(base, base) = yes 64 is_a(base, derived_a) = no 65 is_a(base, derived_b) = no 66 is_a(base, derived_c) = no 67 is_a(base, derived_d) = no 68 is_a(base, if_a) = no 69 is_a(base, if_b) = no 71 is_a(derived_a, base) = yes 76 is_a(derived_a, if_a) = yes 77 is_a(derived_a, if_b) = no [all …]
|
H A D | interface_doubled.phpt | 158 is_a(class_a, if_b) no 159 is_a(class_a, if_c) no 160 is_a(class_a, if_d) no 161 is_a(class_a, if_e) no 165 is_a(class_b, if_c) no 166 is_a(class_b, if_d) no 167 is_a(class_b, if_e) no 172 is_a(class_c, if_d) no 173 is_a(class_c, if_e) no 177 is_a(class_d, if_c) no [all …]
|
/PHP-8.2/ext/standard/tests/class_object/ |
H A D | is_a.phpt | 2 is_a and is_subclass_of behaviour (with and without autoload) 18 …echo str_pad('is_a( OBJECT:'.get_class($this).', '.$sub.') = ', 60) . (is_a($this, $sub) ? 'yes' :… 19 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.') = ', 60). (is_a(get_class($this), $sub)… 20 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.', true) = ', 60). (is_a(get_class($this),… 27 …echo str_pad('is_a( STRING:undefB, '.$sub.',true) = ', 60). (is_a('undefB', $sub, true) ? 'yes' :… 28 …echo str_pad('is_a( STRING:undefB, '.$sub.') = ', 60). (is_a('undefB', $sub) ? 'yes' : 'no')."\n"; 87 is_a( STRING:base, base) = no 93 is_a( STRING:undefB, base,true) = no 94 is_a( STRING:undefB, base) = no 99 is_a( OBJECT:base, derived_a) = no [all …]
|
H A D | is_a_variation_003.phpt | 2 Test is_a() function : usage variations - case sensitivity 5 echo "*** Testing is_a() : usage variations ***\n"; 10 var_dump(is_a(new caseSensitivityTestChild, 'caseSensitivityTEST')); 15 *** Testing is_a() : usage variations ***
|
H A D | is_a_variation_001.phpt | 2 Test is_a() function : usage variations - wrong type for arg 1 5 // Note: basic use cases in Zend/tests/is_a.phpt 6 echo "*** Testing is_a() : usage variations ***\n"; 67 var_dump( is_a($value, $class_name) ); 73 *** Testing is_a() : usage variations ***
|
H A D | is_subclass_of_variation_003.phpt | 7 echo "*** Testing is_a() : usage variations ***\n"; 18 *** Testing is_a() : usage variations ***
|
H A D | is_subclass_of_variation_001.phpt | 5 // Note: basic use cases in Zend/tests/is_a.phpt
|
H A D | is_subclass_of_variation_004.phpt | 5 // Note: basic use cases in Zend/tests/is_a.phpt
|
/PHP-8.2/Zend/tests/ |
H A D | is_a.phpt | 2 is_a() and is_subclass_of() shouldn't call autoloader 22 var_dump(is_a($a, "B1")); 23 var_dump(is_a($a, "A")); 24 var_dump(is_a($a, "BASE")); 25 var_dump(is_a($a, "I"));
|
H A D | closure_020.phpt | 14 var_dump(is_a($this->a, 'closure'));
|
/PHP-8.2/ext/opcache/tests/opt/ |
H A D | tmp_001.phpt | 9 is_a((int)" $y " + 0); 14 Fatal error: Uncaught ArgumentCountError: is_a() expects at least 2 arguments, 1 given in %stmp_001… 16 #0 %stmp_001.php(2): is_a(0)
|
/PHP-8.2/Zend/ |
H A D | zend_builtin_functions.stub.php | 50 function is_a(mixed $object_or_class, string $class, bool $allow_string = false): bool {} function
|
H A D | zend_builtin_functions_arginfo.h | 237 ZEND_FUNCTION(is_a); 298 ZEND_FE(is_a, arginfo_is_a)
|
H A D | zend_builtin_functions.c | 660 ZEND_FUNCTION(is_a) in ZEND_FUNCTION() argument
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_execute_query.phpt | 18 if (!is_a($tmp, mysqli_result::class)) {
|
Completed in 27 milliseconds