/PHP-5.3/tests/classes/ |
H A D | interface_implemented.phpt | 65 is_a(base, base) = yes 66 is_a(base, derived_a) = no 67 is_a(base, derived_b) = no 68 is_a(base, derived_c) = no 69 is_a(base, derived_d) = no 70 is_a(base, if_a) = no 71 is_a(base, if_b) = no 73 is_a(derived_a, base) = yes 78 is_a(derived_a, if_a) = yes 79 is_a(derived_a, if_b) = no [all …]
|
H A D | is_a.phpt | 2 is_a and is_subclass_of behaviour (with and without autoload) 20 …echo str_pad('is_a( OBJECT:'.get_class($this).', '.$sub.') = ', 60) . (is_a($this, $sub) ? 'yes' :… 21 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.') = ', 60). (is_a(get_class($this), $sub)… 22 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.', true) = ', 60). (is_a(get_class($this),… 29 …echo str_pad('is_a( STRING:undefB, '.$sub.',true) = ', 60). (is_a('undefB', $sub, true) ? 'yes' :… 30 …echo str_pad('is_a( STRING:undefB, '.$sub.') = ', 60). (is_a('undefB', $sub) ? 'yes' : 'no')."\n"; 92 is_a( STRING:base, base) = no 98 is_a( STRING:undefB, base,true) = no 99 is_a( STRING:undefB, base) = no 104 is_a( OBJECT:base, derived_a) = no [all …]
|
H A D | interface_doubled.phpt | 161 is_a(class_a, if_b) no 162 is_a(class_a, if_c) no 163 is_a(class_a, if_d) no 164 is_a(class_a, if_e) no 168 is_a(class_b, if_c) no 169 is_a(class_b, if_d) no 170 is_a(class_b, if_e) no 175 is_a(class_c, if_d) no 176 is_a(class_c, if_e) no 180 is_a(class_d, if_c) no [all …]
|
/PHP-5.3/ext/standard/tests/class_object/ |
H A D | is_a.phpt | 2 is_a and is_subclass_of behaviour (with and without autoload) 20 …echo str_pad('is_a( OBJECT:'.get_class($this).', '.$sub.') = ', 60) . (is_a($this, $sub) ? 'yes' :… 21 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.') = ', 60). (is_a(get_class($this), $sub)… 22 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.', true) = ', 60). (is_a(get_class($this),… 29 …echo str_pad('is_a( STRING:undefB, '.$sub.',true) = ', 60). (is_a('undefB', $sub, true) ? 'yes' :… 30 …echo str_pad('is_a( STRING:undefB, '.$sub.') = ', 60). (is_a('undefB', $sub) ? 'yes' : 'no')."\n"; 92 is_a( STRING:base, base) = no 98 is_a( STRING:undefB, base,true) = no 99 is_a( STRING:undefB, base) = no 104 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 13 echo "*** Testing is_a() : error conditions ***\n"; 15 //Test is_a with one more than the expected number of arguments 22 var_dump( is_a($object, $class_name, $allow_string, $object) ); 24 //Test is_a with one more than the expected number of arguments 26 var_dump( is_a($object, $class_name, $object) ); 29 // Testing is_a with one less than the expected number of arguments 32 var_dump( is_a($object) ); 38 *** Testing is_a() : error conditions *** 40 -- 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 7 /* Prototype : proto bool is_a(object object, string class_name) 13 echo "*** Testing is_a() : usage variations ***\n"; 18 var_dump(is_a(new caseSensitivityTestChild, 'caseSensitivityTEST')); 23 *** 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 7 /* Prototype : proto bool is_a(object object, string class_name) 19 echo "*** Testing is_a() : usage variations ***\n"; 79 var_dump( is_a($object, $value) ); 85 *** Testing is_a() : usage variations *** 120 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d 125 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d 130 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d 135 Warning: is_a() expects parameter 2 to be string, array given in %s on line %d 140 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 7 /* Prototype : proto bool is_a(object object, string class_name) 12 // Note: basic use cases in Zend/tests/is_a.phpt 13 echo "*** Testing is_a() : usage variations ***\n"; 74 var_dump( is_a($value, $class_name) ); 80 *** 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_004.phpt | 10 // Note: basic use cases in Zend/tests/is_a.phpt
|
H A D | is_subclass_of_variation_001.phpt | 10 // Note: basic use cases in Zend/tests/is_a.phpt
|
/PHP-5.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, "INT"));
|
H A D | closure_020.phpt | 13 var_dump(is_a($this->a, 'closure'));
|
/PHP-5.3/Zend/ |
H A D | zend_builtin_functions.c | 63 static ZEND_FUNCTION(is_a); 254 ZEND_FE(is_a, arginfo_is_subclass_of) 868 ZEND_FUNCTION(is_a) in ZEND_FUNCTION() argument
|
/PHP-5.3/ |
H A D | UPGRADING | 230 - By popular request, is_a() is no longer deprecated.
|
H A D | NEWS | 759 . Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to 760 is_a and is_subclass_of). (alan_k) 1018 . Removed warning when argument of is_a() or is_subclass_of() is not 4242 - Fixed bug #42009 (is_a() and is_subclass_of() should NOT call autoload, in the 6121 - Changed "instanceof" and "catch" operators, is_a() and is_subclass_of()
|