sniper Sun Jun 3 16:54:06 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/main php_variables.c
/php-src/tests/basic 027.phpt
Log:
MFH:- Improved the error message for exceeding max_input_nesting_level.
http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.104.2.10.2.9&r2=1.104.2.10.2.10&diff_format=u
Index: php-src/main/php_variables.c
diff -u php-src/main/php_variables.c:1.104.2.10.2.9
php-src/main/php_variables.c:1.104.2.10.2.10
--- php-src/main/php_variables.c:1.104.2.10.2.9 Sun Jun 3 16:19:14 2007
+++ php-src/main/php_variables.c Sun Jun 3 16:54:06 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_variables.c,v 1.104.2.10.2.9 2007/06/03 16:19:14 iliaa Exp $ */
+/* $Id: php_variables.c,v 1.104.2.10.2.10 2007/06/03 16:54:06 sniper Exp $ */
#include <stdio.h>
#include "php.h"
@@ -138,7 +138,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.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/tests/basic/027.phpt
diff -u php-src/tests/basic/027.phpt:1.1.2.1
php-src/tests/basic/027.phpt:1.1.2.2
--- php-src/tests/basic/027.phpt:1.1.2.1 Sun Jun 3 16:19:13 2007
+++ php-src/tests/basic/027.phpt Sun Jun 3 16:54:06 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