summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2017-12-30 17:34:01 +0000
committerJakub Zelenka <bukka@php.net>2017-12-30 17:34:01 +0000
commit2fd0b994dd938e4bff8588323d378161388eb9ff (patch)
tree00b8f58797b5849e08d22cbf11f7e24cc4a94947
parent60b2d67828185940b80e7923f0766fa22e6d5daa (diff)
downloadphp-git-2fd0b994dd938e4bff8588323d378161388eb9ff.tar.gz
Use seialize_precision instead of precision in all json tests
-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.phpt2
-rw-r--r--ext/json/tests/pass001.phpt2
6 files changed, 6 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 d952e5811f..ba0fbc9c9d 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 3970fa434e..3bed693ac6 100644
--- a/ext/json/tests/pass001.1_64bit.phpt
+++ b/ext/json/tests/pass001.1_64bit.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.phpt b/ext/json/tests/pass001.phpt
index 948929d5a5..2efd31f6db 100644
--- a/ext/json/tests/pass001.phpt
+++ b/ext/json/tests/pass001.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');