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