]> granicus.if.org Git - php/commitdiff
MFH:- Improved the error message for exceeding max_input_nesting_level.
authorfoobar <sniper@php.net>
Sun, 3 Jun 2007 16:54:06 +0000 (16:54 +0000)
committerfoobar <sniper@php.net>
Sun, 3 Jun 2007 16:54:06 +0000 (16:54 +0000)
main/php_variables.c
tests/basic/027.phpt

index cd4db41a6eb196a919e14021d0782ecbc7ee43e2..4a7c615fd6c341b27ef0224c063fb57b07c18c1e 100644 (file)
@@ -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;
                        }
index 18b17bce9bf6f4683965d34461e8e86457093a6f..339e8ae25640a0bc1615cb0d3060008dc46550f1 100644 (file)
@@ -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."