1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fixed tests that fail with non-default serialize_precision configurations.

See:

 * https://bugs.php.net/bug.php?id=64760
 * 4dc4302
This commit is contained in:
Jeff Welch
2013-11-08 13:07:22 -05:00
committed by Yasuo Ohgaki
parent b41a2755c4
commit b2ca20312d
4 changed files with 5 additions and 2 deletions

View File

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

View File

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

View File

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

View File

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