Browse Source

Fixed tests that fail with non-default `serialize_precision` configurations.

See:

 * https://bugs.php.net/bug.php?id=64760
 * 4dc4302
pull/532/head
Jeff Welch 13 years ago
committed by Yasuo Ohgaki
parent
commit
b2ca20312d
  1. 2
      ext/standard/tests/general_functions/var_export-locale.phpt
  2. 2
      ext/standard/tests/general_functions/var_export_basic3.phpt
  3. 2
      ext/standard/tests/general_functions/var_export_basic5.phpt
  4. 1
      tests/lang/bug24640.phpt

2
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")) {

2
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])

2
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])

1
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)

Loading…
Cancel
Save