From: Felipe Pena Date: Sun, 24 Feb 2008 12:42:16 +0000 (+0000) Subject: Fixed tests X-Git-Tag: RELEASE_2_0_0a1~351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e893877af99b5c9ad6fe1501a50028410e627d6;p=php Fixed tests --- diff --git a/Zend/tests/is_a.phpt b/Zend/tests/is_a.phpt index fd52b5a65a..f11f884fa9 100755 --- a/Zend/tests/is_a.phpt +++ b/Zend/tests/is_a.phpt @@ -31,16 +31,16 @@ var_dump(is_subclass_of($a, "INT")); var_dump(is_subclass_of("X1", "X2")); ?> --EXPECTF-- -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %sis_a.php on line 17 +Deprecated: Function is_a() is deprecated in %sis_a.php on line 17 bool(false) -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %sis_a.php on line 18 +Deprecated: Function is_a() is deprecated in %sis_a.php on line 18 bool(true) -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %sis_a.php on line 19 +Deprecated: Function is_a() is deprecated in %sis_a.php on line 19 bool(true) -Deprecated: is_a(): Deprecated. Please use the instanceof operator in %sis_a.php on line 20 +Deprecated: Function is_a() is deprecated in %sis_a.php on line 20 bool(true) bool(false) bool(false) diff --git a/Zend/tests/magic_by_ref_010.phpt b/Zend/tests/magic_by_ref_010.phpt index f92e5ac175..3544f4d2a6 100644 --- a/Zend/tests/magic_by_ref_010.phpt +++ b/Zend/tests/magic_by_ref_010.phpt @@ -22,7 +22,7 @@ var_dump($v); echo "Done\n"; ?> --EXPECTF-- -Strict Standards: Call-time pass-by-reference has been deprecated in %s on line %d +Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d str 5 int(5) diff --git a/tests/run-test/test005.phpt b/tests/run-test/test005.phpt index c502dd60a2..3276acc791 100644 --- a/tests/run-test/test005.phpt +++ b/tests/run-test/test005.phpt @@ -24,7 +24,7 @@ var_dump($php_errormsg); ?> --EXPECTF-- string(1) "1" -string(4) "8191" +string(5) "16383" string(1) "0" string(1) "1" string(1) "0" @@ -32,7 +32,7 @@ NULL string(%d) "%sivision by zer%s" --UEXPECTF-- unicode(1) "1" -unicode(4) "8191" +unicode(5) "16383" unicode(1) "0" unicode(1) "1" unicode(1) "0" diff --git a/tests/run-test/test008a.phpt b/tests/run-test/test008a.phpt index 861247cd03..e2d59c0b8b 100644 --- a/tests/run-test/test008a.phpt +++ b/tests/run-test/test008a.phpt @@ -24,7 +24,7 @@ var_dump($php_errormsg); ?> --EXPECTF-- string(1) "1" -string(4) "8191" +string(5) "16383" string(1) "0" string(1) "1" string(1) "0" @@ -32,7 +32,7 @@ NULL string(%d) "%sivision by zer%s" --UEXPECTF-- unicode(1) "1" -unicode(4) "8191" +unicode(5) "16383" unicode(1) "0" unicode(1) "1" unicode(1) "0"