Skip to content

Commit

Permalink
Use seialize_precision instead of precision in all json tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bukka committed Dec 30, 2017
1 parent 60b2d67 commit 2fd0b99
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ext/json/tests/bug40503.phpt
Original file line number Diff line number Diff line change
@@ -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--
Expand Down
2 changes: 1 addition & 1 deletion ext/json/tests/bug41403.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (setlocale(LC_NUMERIC, "de_DE") === false) {
}
?>
--INI--
precision=14
serialize_precision=-1
--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion ext/json/tests/bug41567.phpt
Original file line number Diff line number Diff line change
@@ -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--
Expand Down
2 changes: 1 addition & 1 deletion ext/json/tests/pass001.1.phpt
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
2 changes: 1 addition & 1 deletion ext/json/tests/pass001.1_64bit.phpt
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
2 changes: 1 addition & 1 deletion ext/json/tests/pass001.phpt
Original file line number Diff line number Diff line change
@@ -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');
Expand Down

0 comments on commit 2fd0b99

Please sign in to comment.