mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
- Improved the error message for exceeding max_input_nesting_level.
This commit is contained in:
parent
7d74c2c3e6
commit
feab02f3ed
2 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_arra
|
||||||
zval_dtor(val);
|
zval_dtor(val);
|
||||||
|
|
||||||
if (!PG(display_errors)) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue