From: Felipe Pena Date: Sat, 23 Feb 2008 18:29:16 +0000 (+0000) Subject: Change some E_STRICTs to E_DEPRECATED X-Git-Tag: RELEASE_2_0_0a1~367 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93722d35b014b96263a36170ec7742c3f2e6f85e;p=php Change some E_STRICTs to E_DEPRECATED --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 1d755bc530..a85888d33c 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);