diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2020-06-25 09:44:12 -0400 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2020-07-25 09:50:57 -0400 |
commit | 07db64156e180c30daa5ab5d41ed72f9bba77e6d (patch) | |
tree | 0cf33175567420d1c58315f2a98fcd54d4346206 /run-tests.php | |
parent | 8664ff7ae174c610769c36a712eeea80cc3ad933 (diff) | |
download | php-git-07db64156e180c30daa5ab5d41ed72f9bba77e6d.tar.gz |
[RFC] Make string length for getTraceAsString() configurable
Add a `zend.exception_string_param_max_len` ini setting.
(same suffix as `log_errors_max_len`)
Allow values between 0 and 1000000 bytes.
For example, with zend.exception_string_param_max_len=0,
"" would represent the empty string, and "..." would represent something
longer than the empty string.
Previously, this was hardcoded as exactly 15 bytes.
Discussion: https://externals.io/message/110717
Closes GH-5769
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php index 696e949974..092009b500 100755 --- a/run-tests.php +++ b/run-tests.php @@ -343,6 +343,7 @@ function main() 'opcache.jit_hot_side_exit=1', 'zend.assertions=1', 'zend.exception_ignore_args=0', + 'zend.exception_string_param_max_len=15', 'short_open_tag=0', ); |