summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/json/tests/bug40503.phpt2
-rw-r--r--ext/json/tests/bug41403.phpt2
-rw-r--r--ext/json/tests/bug41567.phpt2
-rw-r--r--ext/json/tests/pass001.1.phpt2
-rw-r--r--ext/json/tests/pass001.1_64bit.phpt1
-rw-r--r--ext/json/tests/pass001.phpt1
6 files changed, 4 insertions, 6 deletions
diff --git a/ext/json/tests/bug40503.phpt b/ext/json/tests/bug40503.phpt
index 387ba299ec..10896a428e 100644
--- a/ext/json/tests/bug40503.phpt
+++ b/ext/json/tests/bug40503.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #40503 (json_encode() value corruption on 32bit systems with overflown values)
--INI--
-precision=14
+serialize_precision=-1
--SKIPIF--
<?php if (!extension_loaded("json")) print "skip"; ?>
--FILE--
diff --git a/ext/json/tests/bug41403.phpt b/ext/json/tests/bug41403.phpt
index f0e5f3b511..4f30b25901 100644
--- a/ext/json/tests/bug41403.phpt
+++ b/ext/json/tests/bug41403.phpt
@@ -8,7 +8,7 @@ if (setlocale(LC_NUMERIC, "de_DE") === false) {
}
?>
--INI--
-precision=14
+serialize_precision=-1
--FILE--
<?php
diff --git a/ext/json/tests/bug41567.phpt b/ext/json/tests/bug41567.phpt
index a253a47b7a..a2db6fe290 100644
--- a/ext/json/tests/bug41567.phpt
+++ b/ext/json/tests/bug41567.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #41567 (json_encode() double conversion is inconsistent with PHP)
--INI--
-precision=14
+serialize_precision=-1
--SKIPIF--
<?php if (!extension_loaded('json')) print 'skip'; ?>
--FILE--
diff --git a/ext/json/tests/pass001.1.phpt b/ext/json/tests/pass001.1.phpt
index 981d46ea00..aced88fee2 100644
--- a/ext/json/tests/pass001.1.phpt
+++ b/ext/json/tests/pass001.1.phpt
@@ -1,7 +1,7 @@
--TEST--
JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json)
--INI--
-precision=14
+serialize_precision=-1
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip');
diff --git a/ext/json/tests/pass001.1_64bit.phpt b/ext/json/tests/pass001.1_64bit.phpt
index 07c01580b7..c71adc20a1 100644
--- a/ext/json/tests/pass001.1_64bit.phpt
+++ b/ext/json/tests/pass001.1_64bit.phpt
@@ -1,7 +1,6 @@
--TEST--
JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json)
--INI--
-precision=14
serialize_precision=-1
--SKIPIF--
<?php
diff --git a/ext/json/tests/pass001.phpt b/ext/json/tests/pass001.phpt
index 6e0869052c..170437f307 100644
--- a/ext/json/tests/pass001.phpt
+++ b/ext/json/tests/pass001.phpt
@@ -1,7 +1,6 @@
--TEST--
JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json)
--INI--
-precision=14
serialize_precision=-1
--SKIPIF--
<?php