Commit: b4210efe76324c40b0598996399258fd6d0248a6 Author: Jeff Welch <whatthej...@gmail.com> Fri, 8 Nov 2013 13:07:22 -0500 Committer: Yasuo Ohgaki <yohg...@php.net> Wed, 20 Nov 2013 06:14:32 +0900 Parents: 8c05e861d659f912d95f1720e985632757c5057b Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b4210efe76324c40b0598996399258fd6d0248a6 Log: Fixed tests that fail with non-default `serialize_precision` configurations. See: * https://bugs.php.net/bug.php?id=64760 * 4dc4302 Changed paths: M ext/standard/tests/general_functions/var_export-locale.phpt M ext/standard/tests/general_functions/var_export_basic3.phpt M ext/standard/tests/general_functions/var_export_basic5.phpt M tests/lang/bug24640.phpt Diff: diff --git a/ext/standard/tests/general_functions/var_export-locale.phpt b/ext/standard/tests/general_functions/var_export-locale.phpt index 3cbebe9..b6f87c4 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 9e27d90..58c0448 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 1512fa8..dacb355 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 e41d020..d028891 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) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php