@ -1,5 +1,7 @@
--TEST--
Bug #42785 (Incorrect formatting of double values with non-english locales)
--INI--
serialize_precision=-1
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip');
bug #50224 (json_encode() does not always encode a float as a float)
<?php if (!extension_loaded("json")) print "skip"; ?>
--FILE--
@ -57,4 +59,4 @@ array(2) {
float(12)
["integer"]=>
int(12)
}
Test json_encode() function with numeric flag
@ -2,6 +2,7 @@
JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json)
precision=14
json_encode() Serialization tests