1--TEST-- 2Bug #77439: parse_str segfaults when inserting item into existing array 3--FILE-- 4<?php 5$vars = ['a' => []]; 6parse_str('a[1]=1', $vars); 7var_dump($vars['a']); 8?> 9--EXPECT-- 10array(1) { 11 [1]=> 12 string(1) "1" 13} 14