diff --git a/tests/compiler/basic/json-exception-boundary.phpt b/tests/compiler/basic/json-exception-boundary.phpt new file mode 100644 index 00000000..9e56b43b --- /dev/null +++ b/tests/compiler/basic/json-exception-boundary.phpt @@ -0,0 +1,50 @@ +--TEST-- +JSON optimized functions preserve PHP exceptions and option semantics +--FILE-- + +--EXPECT-- +decode-caught +encode-caught +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +depth-caught