1--TEST--
2Test json_encode() function with numeric flag
3--INI--
4serialize_precision=-1
5--SKIPIF--
6<?php if (!extension_loaded("json")) print "skip"; ?>
7--FILE--
8<?php
9var_dump(
10	json_encode("1", JSON_NUMERIC_CHECK),
11	json_encode("9.4324", JSON_NUMERIC_CHECK),
12	json_encode(array("122321", "3232595.33423"), JSON_NUMERIC_CHECK),
13	json_encode("1"),
14	json_encode("9.4324"),
15	json_encode(array("122321", "3232595.33423"))
16);
17?>
18--EXPECT--
19string(1) "1"
20string(6) "9.4324"
21string(22) "[122321,3232595.33423]"
22string(3) ""1""
23string(8) ""9.4324""
24string(26) "["122321","3232595.33423"]"
25