Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
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")) {
View
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])
View
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])
View
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)
Something went wrong with that request. Please try again.