Home
last modified time | relevance | path

Searched refs:is_a (Results 1 – 15 of 15) sorted by relevance

/php-src/tests/classes/
H A Dinterface_implemented.phpt63 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 Dinterface_doubled.phpt158 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-src/ext/standard/tests/class_object/
H A Dis_a.phpt2 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 Dis_a_variation_003.phpt2 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 Dis_a_variation_001.phpt2 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 Dis_subclass_of_variation_003.phpt7 echo "*** Testing is_a() : usage variations ***\n";
18 *** Testing is_a() : usage variations ***
H A Dis_subclass_of_variation_001.phpt5 // Note: basic use cases in Zend/tests/is_a.phpt
H A Dis_subclass_of_variation_004.phpt5 // Note: basic use cases in Zend/tests/is_a.phpt
/php-src/Zend/tests/
H A Dis_a.phpt2 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"));
/php-src/ext/opcache/tests/opt/
H A Dtmp_001.phpt9 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-src/Zend/tests/closures/
H A Dclosure_020.phpt14 var_dump(is_a($this->a, 'closure'));
/php-src/Zend/
H A Dzend_builtin_functions.stub.php55 function is_a(mixed $object_or_class, string $class, bool $allow_string = false): bool {} function
H A Dzend_builtin_functions_arginfo.h258 ZEND_FUNCTION(is_a);
320 ZEND_FE(is_a, arginfo_is_a)
H A Dzend_builtin_functions.c709 ZEND_FUNCTION(is_a) in ZEND_FUNCTION() argument
/php-src/ext/mysqli/tests/
H A Dmysqli_execute_query.phpt18 if (!is_a($tmp, mysqli_result::class)) {

Completed in 34 milliseconds