--TEST--
Bug #39304 (Segmentation fault with list unpacking of string offset)
---SKIPIF--
-<?php if (version_compare(zend_version(), '2.4.0', '>=')) die('skip ZendEngine 2.4 needed'); ?>
--FILE--
<?php
$s = "";
list($a, $b) = $s[0];
+echo "I am alive";
?>
--EXPECTF--
Notice: Uninitialized string offset: 0 in %sbug39304.php on line 3
-Fatal error: Cannot use string offset as an array in %sbug39304.php on line 3
+Notice: Uninitialized string offset: 1 in %sbug39304.php on line 3
+
+Notice: Uninitialized string offset: 0 in %sbug39304.php on line 3
+I am alive
+
--TEST--
Testing isset accessing undefined array itens and properties
---SKIPIF--
-<?php if (version_compare(zend_version(), '2.4.0', '>=')) die('skip ZendEngine 2.3 or below needed'); ?>
--FILE--
<?php
bool(false)
bool(false)
-Notice: Undefined variable: d in %s on line %d
-
Notice: Undefined variable: c in %s on line %d
+Notice: Undefined variable: d in %s on line %d
+
Notice: Trying to get property of non-object in %s on line %d
bool(false)
bool(true)