summaryrefslogtreecommitdiff
path: root/ext/json/tests/bug42090.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/tests/bug42090.phpt')
-rw-r--r--ext/json/tests/bug42090.phpt24
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/json/tests/bug42090.phpt b/ext/json/tests/bug42090.phpt
deleted file mode 100644
index 9e5b3317e..000000000
--- a/ext/json/tests/bug42090.phpt
+++ /dev/null
@@ -1,24 +0,0 @@
---TEST--
-Bug #42090 (json_decode causes segmentation fault)
---SKIPIF--
-<?php if (!extension_loaded("json")) print "skip"; ?>
---FILE--
-<?php
-var_dump(
- json_decode('""'),
- json_decode('"..".'),
- json_decode('"'),
- json_decode('""""'),
- json_encode('"'),
- json_decode(json_encode('"')),
- json_decode(json_encode('""'))
-);
-?>
---EXPECT--
-string(0) ""
-NULL
-NULL
-NULL
-string(4) ""\"""
-string(1) """
-string(2) """"