Searched refs:is_a (Results 1 – 13 of 13) sorted by relevance
/PHP-7.3/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 | 159 is_a(class_a, if_b) no 160 is_a(class_a, if_c) no 161 is_a(class_a, if_d) no 162 is_a(class_a, if_e) no 166 is_a(class_b, if_c) no 167 is_a(class_b, if_d) no 168 is_a(class_b, if_e) no 173 is_a(class_c, if_d) no 174 is_a(class_c, if_e) no 178 is_a(class_d, if_c) no [all …]
|
/PHP-7.3/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_error_001.phpt | 2 Test is_a() function : error conditions - wrong number of args 11 echo "*** Testing is_a() : error conditions ***\n"; 13 //Test is_a with one more than the expected number of arguments 20 var_dump( is_a($object, $class_name, $allow_string, $object) ); 22 //Test is_a with one more than the expected number of arguments 24 var_dump( is_a($object, $class_name, $object) ); 27 // Testing is_a with one less than the expected number of arguments 30 var_dump( is_a($object) ); 35 *** Testing is_a() : error conditions *** 37 -- Testing is_a() function with more than expected no. of arguments -- [all …]
|
H A D | is_a_variation_003.phpt | 2 Test is_a() function : usage variations - case sensitivity 5 /* Prototype : proto bool is_a(object object, string class_name) 11 echo "*** Testing is_a() : usage variations ***\n"; 16 var_dump(is_a(new caseSensitivityTestChild, 'caseSensitivityTEST')); 21 *** Testing is_a() : usage variations ***
|
H A D | is_a_variation_002.phpt | 2 Test is_a() function : usage variations - wrong type for arg 2 5 /* Prototype : proto bool is_a(object object, string class_name) 17 echo "*** Testing is_a() : usage variations ***\n"; 77 var_dump( is_a($object, $value) ); 83 *** Testing is_a() : usage variations *** 118 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d 123 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d 128 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d 133 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d 138 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
|
H A D | is_a_variation_001.phpt | 2 Test is_a() function : usage variations - wrong type for arg 1 5 /* Prototype : proto bool is_a(object object, string class_name) 10 // Note: basic use cases in Zend/tests/is_a.phpt 11 echo "*** Testing is_a() : usage variations ***\n"; 72 var_dump( is_a($value, $class_name) ); 78 *** Testing is_a() : usage variations ***
|
H A D | is_subclass_of_variation_003.phpt | 13 echo "*** Testing is_a() : usage variations ***\n"; 24 *** Testing is_a() : usage variations ***
|
H A D | is_subclass_of_variation_001.phpt | 10 // Note: basic use cases in Zend/tests/is_a.phpt
|
H A D | is_subclass_of_variation_004.phpt | 10 // Note: basic use cases in Zend/tests/is_a.phpt
|
/PHP-7.3/Zend/tests/ |
H A D | is_a.phpt | 2 is_a() and is_subclass_of() shouldn't call __autoload 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 | 13 var_dump(is_a($this->a, 'closure'));
|
/PHP-7.3/Zend/ |
H A D | zend_builtin_functions.c | 56 static ZEND_FUNCTION(is_a); 264 ZEND_FE(is_a, arginfo_is_subclass_of) 1084 ZEND_FUNCTION(is_a) in ZEND_FUNCTION() argument
|
Completed in 27 milliseconds