xref: /PHP-5.3/Zend/tests/bug39304.phpt (revision 610c7fbe)
1--TEST--
2Bug #39304 (Segmentation fault with list unpacking of string offset)
3--FILE--
4<?php
5  $s = "";
6  list($a, $b) = $s[0];
7?>
8--EXPECTF--
9Notice: Uninitialized string offset: 0 in %sbug39304.php on line 3
10
11Fatal error: Cannot use string offset as an array in %sbug39304.php on line 3
12