From: foobar Date: Sun, 3 Jun 2007 16:53:37 +0000 (+0000) Subject: - Improved the error message for exceeding max_input_nesting_level. X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~554 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=feab02f3eda4e5ef049376201ad695747d2e17dd;p=php - Improved the error message for exceeding max_input_nesting_level. --- diff --git a/main/php_variables.c b/main/php_variables.c index 6c79bf50b3..f75df45e05 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -146,7 +146,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."