From: Felipe Pena Date: Thu, 26 Jun 2008 11:15:48 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: php-5.3.0alpha1~593 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7f5edd98860ee6d65fd4f863c54a9172db13214;p=php - Fixed tests --- diff --git a/ext/standard/tests/class_object/is_a_error_001.phpt b/ext/standard/tests/class_object/is_a_error_001.phpt index f41c707b02..921e3a2606 100644 --- a/ext/standard/tests/class_object/is_a_error_001.phpt +++ b/ext/standard/tests/class_object/is_a_error_001.phpt @@ -32,15 +32,11 @@ echo "Done"; -- Testing is_a() function with more than expected no. of arguments -- -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 16 - Warning: is_a() expects exactly 2 parameters, 3 given in %s on line 16 NULL -- Testing is_a() function with less than expected no. of arguments -- -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 21 - Warning: is_a() expects exactly 2 parameters, 1 given in %s on line 21 NULL -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/class_object/is_a_variation_001.phpt b/ext/standard/tests/class_object/is_a_variation_001.phpt index 569752dfc6..d2d6ce2407 100644 --- a/ext/standard/tests/class_object/is_a_variation_001.phpt +++ b/ext/standard/tests/class_object/is_a_variation_001.phpt @@ -84,132 +84,80 @@ Notice: Undefined variable: undefined_var in %s on line 59 Notice: Undefined variable: unset_var in %s on line 62 Arg value 0 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value 1 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value 12345 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value -2345 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value 10.5 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value -10.5 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value 101234567000 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value 1.07654321E-9 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value 0.5 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value Array - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value Array - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value Array - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value Array - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value Array - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value 1 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value 1 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value string - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value String - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 69 bool(false) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/class_object/is_a_variation_002.phpt b/ext/standard/tests/class_object/is_a_variation_002.phpt index 0ec87980e5..970da72f1c 100644 --- a/ext/standard/tests/class_object/is_a_variation_002.phpt +++ b/ext/standard/tests/class_object/is_a_variation_002.phpt @@ -89,137 +89,87 @@ Notice: Undefined variable: undefined_var in %s on line 64 Notice: Undefined variable: unset_var in %s on line 67 Arg value 0 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value 1 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value 12345 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value -2345 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value 10.5 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value -10.5 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value 101234567000 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value 1.07654321E-9 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value 0.5 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value Array -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d - Warning: is_a() expects parameter 2 to be string, array given in %s on line %d NULL Arg value Array -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d - Warning: is_a() expects parameter 2 to be string, array given in %s on line %d NULL Arg value Array -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d - Warning: is_a() expects parameter 2 to be string, array given in %s on line %d NULL Arg value Array -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d - Warning: is_a() expects parameter 2 to be string, array given in %s on line %d NULL Arg value Array -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d - Warning: is_a() expects parameter 2 to be string, array given in %s on line %d NULL Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value 1 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value 1 - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value C Instance - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) Arg value - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line %d bool(false) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/class_object/is_a_variation_003.phpt b/ext/standard/tests/class_object/is_a_variation_003.phpt index 88e955280c..1258647bc1 100644 --- a/ext/standard/tests/class_object/is_a_variation_003.phpt +++ b/ext/standard/tests/class_object/is_a_variation_003.phpt @@ -21,7 +21,5 @@ echo "Done"; ?> --EXPECTF-- *** Testing is_a() : usage variations *** - -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on line 13 bool(true) -Done \ No newline at end of file +Done