mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00: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:
parent
b41a2755c4
commit
b2ca20312d
@ -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")) {
|
||||
|
@ -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])
|
||||
|
@ -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])
|
||||
|
@ -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…
Reference in New Issue
Block a user