sniper Sun Jun 3 16:53:37 2007 UTC
Modified files:
/php-src/main php_variables.c
/php-src/tests/basic 027.phpt
Log:
- Improved the error message for exceeding max_input_nesting_level.
http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.139&r2=1.140&diff_format=u
Index: php-src/main/php_variables.c
diff -u php-src/main/php_variables.c:1.139 php-src/main/php_variables.c:1.140
--- php-src/main/php_variables.c:1.139 Sun Jun 3 16:19:55 2007
+++ php-src/main/php_variables.c Sun Jun 3 16:53:37 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_variables.c,v 1.139 2007/06/03 16:19:55 iliaa Exp $ */
+/* $Id: php_variables.c,v 1.140 2007/06/03 16:53:37 sniper Exp $ */
#include <stdio.h>
#include "php.h"
@@ -146,7 +146,7 @@
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;
}
http://cvs.php.net/viewvc.cgi/php-src/tests/basic/027.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/basic/027.phpt
diff -u php-src/tests/basic/027.phpt:1.2 php-src/tests/basic/027.phpt:1.3
--- php-src/tests/basic/027.phpt:1.2 Sun Jun 3 16:19:55 2007
+++ php-src/tests/basic/027.phpt Sun Jun 3 16:53:37 2007
@@ -32,4 +32,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."
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php