1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00
Files
archived-php-src/Zend/tests/bug39304.phpt
2019-10-02 10:34:08 +02:00

13 lines
229 B
PHP

--TEST--
Bug #39304 (Segmentation fault with list unpacking of string offset)
--FILE--
<?php
$s = "";
list($a, $b) = $s[0];
var_dump($a,$b);
?>
--EXPECTF--
Warning: Uninitialized string offset: 0 in %s on line %d
NULL
NULL