summaryrefslogtreecommitdiff
path: root/Zend/tests/temporary_cleaning_016.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/temporary_cleaning_016.phpt')
-rw-r--r--Zend/tests/temporary_cleaning_016.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Zend/tests/temporary_cleaning_016.phpt b/Zend/tests/temporary_cleaning_016.phpt
new file mode 100644
index 0000000000..d7be78e1ff
--- /dev/null
+++ b/Zend/tests/temporary_cleaning_016.phpt
@@ -0,0 +1,16 @@
+--TEST--
+Live ranges should be ordered according to "start" position
+--FILE--
+<?php
+set_error_handler(function($no, $msg) { throw new Exception; });
+
+try {
+ $a = [];
+ $str = "$a${"y$a$a"}y";
+} catch (Exception $e) {
+}
+?>
+DONE
+--EXPECT--
+DONE
+