diff options
author | Jeff Welch <whatthejeff@gmail.com> | 2013-11-08 13:07:22 -0500 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2013-11-20 06:17:23 +0900 |
commit | 101c78050032de22832a83630ea136b2752d0fe6 (patch) | |
tree | e80a63a3aa19c66d49bd14db5c9b40a9ff4d4ea2 | |
parent | 25c08a839a261f3da77767934d8bed29f9831db3 (diff) | |
download | php-git-101c78050032de22832a83630ea136b2752d0fe6.tar.gz |
Fixed tests that fail with non-default `serialize_precision` configurations.
See:
* https://bugs.php.net/bug.php?id=64760
* 4dc4302
4 files changed, 5 insertions, 2 deletions
diff --git a/ext/standard/tests/general_functions/var_export-locale.phpt b/ext/standard/tests/general_functions/var_export-locale.phpt index 3cbebe9c72..b6f87c431c 100644 --- a/ext/standard/tests/general_functions/var_export-locale.phpt +++ b/ext/standard/tests/general_functions/var_export-locale.phpt @@ -1,7 +1,7 @@ --TEST-- Test var_export() function with locale --INI-- -precision=14 +serialize_precision=17 --SKIPIF-- <?php if (!setlocale(LC_ALL, "german", "de","de_DE","de_DE.ISO8859-1","de_DE.ISO_8859-1","de_DE.UTF-8")) { diff --git a/ext/standard/tests/general_functions/var_export_basic3.phpt b/ext/standard/tests/general_functions/var_export_basic3.phpt index 9e27d90425..58c0448167 100644 --- a/ext/standard/tests/general_functions/var_export_basic3.phpt +++ b/ext/standard/tests/general_functions/var_export_basic3.phpt @@ -1,7 +1,7 @@ --TEST-- Test var_export() function with valid float values --INI-- -precision=14 +serialize_precision=17 --FILE-- <?php /* Prototype : mixed var_export(mixed var [, bool return]) diff --git a/ext/standard/tests/general_functions/var_export_basic5.phpt b/ext/standard/tests/general_functions/var_export_basic5.phpt index 1512fa8377..dacb355323 100644 --- a/ext/standard/tests/general_functions/var_export_basic5.phpt +++ b/ext/standard/tests/general_functions/var_export_basic5.phpt @@ -1,5 +1,7 @@ --TEST-- Test var_export() function with valid arrays +--INI-- +serialize_precision=17 --FILE-- <?php /* Prototype : mixed var_export(mixed var [, bool return]) diff --git a/tests/lang/bug24640.phpt b/tests/lang/bug24640.phpt index e41d0201b7..d02889101e 100644 --- a/tests/lang/bug24640.phpt +++ b/tests/lang/bug24640.phpt @@ -2,6 +2,7 @@ Bug #24640 (var_export and var_dump can't output large float) --INI-- precision=12 +serialize_precision=17 --FILE-- <?php function test($v) |