summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2007-06-03 16:53:37 +0000
committerfoobar <sniper@php.net>2007-06-03 16:53:37 +0000
commitfeab02f3eda4e5ef049376201ad695747d2e17dd (patch)
treecf266c4d1a5841b377143d74e78c4bb6b239090c
parent7d74c2c3e6ea4c7d01f1ecb96fd61544e673a402 (diff)
downloadphp-git-feab02f3eda4e5ef049376201ad695747d2e17dd.tar.gz
- Improved the error message for exceeding max_input_nesting_level.
-rw-r--r--main/php_variables.c2
-rw-r--r--tests/basic/027.phpt2
2 files changed, 2 insertions, 2 deletions
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."