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.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/json/tests/json_encode_exceptions.phpt b/ext/json/tests/json_encode_exceptions.phpt
index 507f16ede9..a3d1f7ae25 100644
--- a/ext/json/tests/json_encode_exceptions.phpt
+++ b/ext/json/tests/json_encode_exceptions.phpt
@@ -6,9 +6,9 @@ Test json_encode() function : JSON_THROW_ON_ERROR flag
<?php
try {
- var_dump(json_encode("\x80", JSON_THROW_ON_ERROR));
+ var_dump(json_encode("\x80", JSON_THROW_ON_ERROR));
} catch (JsonException $e) {
- var_dump($e);
+ var_dump($e);
}
// JSON_PARTIAL_OUTPUT_ON_ERROR is incompatible with exceptions