summaryrefslogtreecommitdiff
path: root/ext/json/tests/pass003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/tests/pass003.phpt')
-rw-r--r--ext/json/tests/pass003.phpt6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/json/tests/pass003.phpt b/ext/json/tests/pass003.phpt
index 6afbf2d927..a45f92b6ac 100644
--- a/ext/json/tests/pass003.phpt
+++ b/ext/json/tests/pass003.phpt
@@ -1,7 +1,5 @@
--TEST--
JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json)
---SKIPIF--
-<?php if (!extension_loaded("json")) print "skip"; ?>
--FILE--
<?php
@@ -14,7 +12,7 @@ $test = '
}
';
-echo 'Testing: ' . $test . "\n";
+echo 'Testing:' . $test . "\n";
echo "DECODE: AS OBJECT\n";
$obj = json_decode($test);
var_dump($obj);
@@ -38,7 +36,7 @@ var_dump($arr);
?>
--EXPECTF--
-Testing:
+Testing:
{
"JSON Test Pattern pass3": {
"The outermost value": "must be an object or array.",