1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 03:22:58 +02:00
Files
archived-php-src/ext/standard/tests/strings/bug77439.phpt
2019-01-10 10:57:04 +01:00

15 lines
296 B
PHP

--TEST--
Bug #77439: parse_str segfaults when inserting item into existing array
--FILE--
<?php
$a = [];
parse_str('a[1]=1');
var_dump($a);
?>
--EXPECTF--
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in %s on line %d
array(1) {
[1]=>
string(1) "1"
}