mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH
This commit is contained in:
parent
741c74a25e
commit
521917bdfa
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_arra
|
|||
zend_hash_del(ht, var, var_len + 1);
|
||||
zval_dtor(val);
|
||||
|
||||
/* do not output the error message to the screen,
|
||||
this helps us to to avoid "information disclosure" */
|
||||
if (!PG(display_errors)) {
|
||||
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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue