summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug70947.phpt
blob: d07e5a331f8869002c1438dfaf5ddddfc1c5c75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #70947 (INI parser segfault with INI_SCANNER_TYPED)
--FILE--
<?php
$o = parse_ini_string('foo = bar 123', FALSE, INI_SCANNER_TYPED);
var_dump($o);
?>
--EXPECT--
array(1) {
  ["foo"]=>
  string(7) "bar 123"
}