From beeccb1e04c1377c2d744b202525758b9c2b3ee5 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sat, 23 Feb 2008 19:01:11 +0000 Subject: [PATCH] Fixed tests (new error message - E_DEPRECATED) --- ext/ctype/tests/001.phpt | 2 +- ext/ctype/tests/002.phpt | 4 ++-- ext/standard/tests/general_functions/debug_zval_dump_v.phpt | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/ctype/tests/001.phpt b/ext/ctype/tests/001.phpt index adcf75749e..d16d89ae49 100644 --- a/ext/ctype/tests/001.phpt +++ b/ext/ctype/tests/001.phpt @@ -38,7 +38,7 @@ ctype_punct 32 ctype_space 6 ctype_xdigit 22 --UEXPECTF-- -Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s001.php on line %d +Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s001.php on line %d ctype_lower 26 ctype_upper 26 ctype_alpha 52 diff --git a/ext/ctype/tests/002.phpt b/ext/ctype/tests/002.phpt index c1339d3338..b3002364cf 100644 --- a/ext/ctype/tests/002.phpt +++ b/ext/ctype/tests/002.phpt @@ -47,9 +47,9 @@ ctype_punct 32 32 0 ctype_space 6 6 0 ctype_xdigit 22 22 0 --UEXPECTF-- -Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s002.php on line %d +Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s002.php on line %d -Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s002.php on line %d +Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s002.php on line %d LOCALE is '%s' ctype_lower 26 26 0 ctype_upper 26 26 0 diff --git a/ext/standard/tests/general_functions/debug_zval_dump_v.phpt b/ext/standard/tests/general_functions/debug_zval_dump_v.phpt index 3a180f1a25..6552a27794 100644 --- a/ext/standard/tests/general_functions/debug_zval_dump_v.phpt +++ b/ext/standard/tests/general_functions/debug_zval_dump_v.phpt @@ -123,7 +123,7 @@ 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 *** Testing debug_zval_dump() on functions *** --- Variation 1: global variable inside a function --- @@ -215,7 +215,7 @@ string(10) "NULLstring" refcount(3) &string(10) "NULLstring" refcount(2) Done --UEXPECTF-- -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 *** Testing debug_zval_dump() on functions *** --- Variation 1: global variable inside a function --- -- 2.50.1