From 93722d35b014b96263a36170ec7742c3f2e6f85e Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sat, 23 Feb 2008 18:29:16 +0000 Subject: [PATCH] Change some E_STRICTs to E_DEPRECATED --- ext/standard/string.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 1d755bc530d..a85888d33c9 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -491,7 +491,7 @@ PHP_FUNCTION(nl_langinfo) } if (UG(unicode)) { - php_error_docref(NULL TSRMLS_CC, E_STRICT, "deprecated in Unicode mode, please use ICU locale functions"); + php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "deprecated in Unicode mode, please use ICU locale functions"); } switch(item) { /* {{{ */ @@ -6148,7 +6148,7 @@ PHP_FUNCTION(setlocale) } if (UG(unicode)) { - php_error_docref(NULL TSRMLS_CC, E_STRICT, "deprecated in Unicode mode, please use ICU locale functions"); + php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "deprecated in Unicode mode, please use ICU locale functions"); } #ifdef HAVE_SETLOCALE @@ -7177,7 +7177,7 @@ PHP_FUNCTION(localeconv) } if (UG(unicode)) { - php_error_docref(NULL TSRMLS_CC, E_STRICT, "deprecated in Unicode mode, please use ICU locale functions"); + php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "deprecated in Unicode mode, please use ICU locale functions"); } MAKE_STD_ZVAL(grouping);