From ecd1fe0b396705c8f58a6a69c4631cd63a9399d0 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sun, 24 Feb 2008 13:10:33 +0000 Subject: [PATCH] Fixed tests (new error message - E_DEPRECATED) --- tests/classes/new_001.phpt | 4 ++-- tests/lang/034.phpt | 2 +- tests/lang/bug22231.phpt | 2 +- tests/lang/bug30638.phpt | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/classes/new_001.phpt b/tests/classes/new_001.phpt index 03c64e8eda..48f4f6bb0e 100644 --- a/tests/classes/new_001.phpt +++ b/tests/classes/new_001.phpt @@ -47,7 +47,7 @@ object(Inc)#%d (1) { int(2) } --UEXPECTF-- -Strict Standards: Assigning the return value of new by reference is deprecated in %s on line 23 +Deprecated: Assigning the return value of new by reference is deprecated in %s on line 23 Compile-time strict error message should precede this. $f initially points to the first object: object(Inc)#%d (1) { @@ -63,4 +63,4 @@ Assigning new object by ref to $k removes it from $f's reference set, so $f is u object(Inc)#%d (1) { [u"id"]=> int(2) -} \ No newline at end of file +} diff --git a/tests/lang/034.phpt b/tests/lang/034.phpt index 6b3c9ab744..aef3f8f352 100644 --- a/tests/lang/034.phpt +++ b/tests/lang/034.phpt @@ -18,5 +18,5 @@ echo (float)"3.14", "\n"; --EXPECT-- 3,14 --UEXPECTF-- -Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d +Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d 3,14 diff --git a/tests/lang/bug22231.phpt b/tests/lang/bug22231.phpt index 4ab619395a..2b20f98644 100644 --- a/tests/lang/bug22231.phpt +++ b/tests/lang/bug22231.phpt @@ -41,7 +41,7 @@ object(foo)#%d (1) { string(5) "fubar" string(5) "fubar" --UEXPECTF-- -Strict Standards: Assigning the return value of new by reference is deprecated in %s on line %d +Deprecated: Assigning the return value of new by reference is deprecated in %s on line %d object(foo)#%d (1) { [u"fubar"]=> unicode(5) "fubar" diff --git a/tests/lang/bug30638.phpt b/tests/lang/bug30638.phpt index a765ee1f7e..727e610874 100644 --- a/tests/lang/bug30638.phpt +++ b/tests/lang/bug30638.phpt @@ -19,8 +19,8 @@ printf("thousands_sep: %s\n", $lc['thousands_sep']); decimal_point: , thousands_sep: . --UEXPECTF-- -Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d +Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d -Strict Standards: localeconv(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d +Deprecated: localeconv(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d decimal_point: , thousands_sep: . -- 2.50.1