blob: 4394cae1d48b780b0ecc398c85d4ea7c41c1e824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Bug #39304 (Segmentation fault with list unpacking of string offset)
--FILE--
<?php
$s = "";
list($a, $b) = $s[0];
var_dump($a,$b);
?>
--EXPECTF--
Notice: Uninitialized string offset: 0 in %sbug39304.php on line %d
NULL
NULL
|