From: foobar Date: Sun, 3 Jun 2007 16:54:06 +0000 (+0000) Subject: MFH:- Improved the error message for exceeding max_input_nesting_level. X-Git-Tag: php-5.2.4RC1~449 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f26145fa8c6a98a11081e9cf5029fa99f837bc92;p=php MFH:- Improved the error message for exceeding max_input_nesting_level. --- diff --git a/main/php_variables.c b/main/php_variables.c index cd4db41a6e..4a7c615fd6 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -138,7 +138,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_arra zval_dtor(val); if (!PG(display_errors)) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variable nesting level more than allowed %ld (change max_input_nesting_level in php.ini to increase the limit)", PG(max_input_nesting_level)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variable nesting level exceeded %ld. To increase the limit change max_input_nesting_level in php.ini.", PG(max_input_nesting_level)); } return; } diff --git a/tests/basic/027.phpt b/tests/basic/027.phpt index 18b17bce9b..339e8ae256 100644 --- a/tests/basic/027.phpt +++ b/tests/basic/027.phpt @@ -32,4 +32,4 @@ array(4) { } } } -string(124) "Unknown: Input variable nesting level more than allowed 10 (change max_input_nesting_level in php.ini to increase the limit)" +string(124) "Unknown: Input variable nesting level exceeded 10. To increase the level change max_input_nesting_level in php.ini."