summaryrefslogtreecommitdiff
path: root/Zend/tests/bug39304.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug39304.phpt')
-rw-r--r--Zend/tests/bug39304.phpt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/tests/bug39304.phpt b/Zend/tests/bug39304.phpt
index 9cc15de527..4394cae1d4 100644
--- a/Zend/tests/bug39304.phpt
+++ b/Zend/tests/bug39304.phpt
@@ -4,8 +4,9 @@ Bug #39304 (Segmentation fault with list unpacking of string offset)
<?php
$s = "";
list($a, $b) = $s[0];
-echo "I am alive";
+ var_dump($a,$b);
?>
--EXPECTF--
Notice: Uninitialized string offset: 0 in %sbug39304.php on line %d
-I am alive
+NULL
+NULL