mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
10 lines
222 B
Plaintext
10 lines
222 B
Plaintext
|
--TEST--
|
||
|
Bug #39304 (Segmentation fault with list unpacking of string offset)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$s = "";
|
||
|
list($a, $b) = $s[0];
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot use string offset as an array in %sbug39304.php on line 3
|