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