--TEST--
-JSON Test Pattern fail1 -> fail24
-http://www.crockford.com/JSON/JSON_checker/test/fail*.json
+JSON (http://www.crockford.com/JSON/JSON_checker/test/fail*.json)
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip: json extension not available');
--TEST--
-JSON Test Pattern pass1.1
-Modified to test unescaped UNICODE as keys and values.
-Modified to test numbers with exponents without a decimal point.
-Modified to test empty string values.
-Modified to test a mix of integers and strings as keys.
-http://www.crockford.com/JSON/JSON_checker/test/pass1.json
+JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json)
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip: json extension not available');
?>
--FILE--
<?php
+/* Modified to test unescaped UNICODE as keys and values.
+ * Modified to test numbers with exponents without a decimal point.
+ * Modified to test empty string values.
+ * Modified to test a mix of integers and strings as keys.
+ */
// Expect warnings about INF.
ini_set("error_reporting", E_ALL & ~E_WARNING);
--TEST--
-JSON Test Pattern pass1
-http://www.crockford.com/JSON/JSON_checker/test/pass1.json
+JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json)
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip: json extension not available');
--TEST--
-JSON Test Pattern pass2
-http://www.crockford.com/JSON/JSON_checker/test/pass2.json
+JSON (http://www.crockford.com/JSON/JSON_checker/test/pass2.json)
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip: json extension not available');
--TEST--
-JSON Test Pattern pass3
-http://www.crockford.com/JSON/JSON_checker/test/pass3.json
+JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json)
--SKIPIF--
<?php
if (!extension_loaded('json')) die('skip: json extension not available');