summaryrefslogtreecommitdiff
path: root/ext/json/tests/json_exceptions_error_clearing.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/tests/json_exceptions_error_clearing.phpt')
-rw-r--r--ext/json/tests/json_exceptions_error_clearing.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/json/tests/json_exceptions_error_clearing.phpt b/ext/json/tests/json_exceptions_error_clearing.phpt
index e55be5e02b..6d01dd7c33 100644
--- a/ext/json/tests/json_exceptions_error_clearing.phpt
+++ b/ext/json/tests/json_exceptions_error_clearing.phpt
@@ -1,5 +1,7 @@
--TEST--
JSON_THROW_ON_ERROR: global error flag untouched
+--SKIPIF--
+<?php if(!extension_loaded('json')) die('skip json extension not loaded') ?>
--FILE--
<?php