- Improved the error message for exceeding max_input_nesting_level.

This commit is contained in:
foobar 2007-06-03 16:53:37 +00:00
parent 7d74c2c3e6
commit feab02f3ed
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View 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."