diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-12 10:27:28 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-25 09:51:32 +0100 |
commit | a9398056417d27cb1754cdb846411c695d3afe10 (patch) | |
tree | 1cdab35caacdf491977aeaf4159a72ef976cdae6 /run-tests.php | |
parent | c3aa9132d67364d52e4da79081c3e9823be7ae45 (diff) | |
download | php-git-a9398056417d27cb1754cdb846411c695d3afe10.tar.gz |
Use serialize_precision for var_dump()
var_dump() is debugging functionality, so it should print
floating-point numbers accurately. We do this by switching
to serialize_precision, which (by default) will print with
as much precision as necessary to preserve the exact value
of the float.
This also affects debug_zval_dump().
Closes GH-5172.
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 85252e644e..ebcaabba02 100755 --- a/run-tests.php +++ b/run-tests.php @@ -254,6 +254,7 @@ NO_PROC_OPEN_ERROR; 'auto_append_file=', 'ignore_repeated_errors=0', 'precision=14', + 'serialize_precision=-1', 'memory_limit=128M', 'log_errors_max_len=0', 'opcache.fast_shutdown=0', |