1--TEST--
2Bug #77844: Crash due to null pointer in parse_ini_string with INI_SCANNER_TYPED
3--FILE--
4<?php
5
6$ini = <<<INI
7val1=3.7&2
8val2=2&3.7
9INI;
10var_dump(parse_ini_string($ini, true, INI_SCANNER_TYPED));
11
12?>
13--EXPECT--
14array(2) {
15  ["val1"]=>
16  string(1) "2"
17  ["val2"]=>
18  string(1) "2"
19}
20