1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 04:51:03 +02:00
Files
archived-php-src/ext/standard/tests/general_functions/bug70947.phpt

13 lines
221 B
PHP

--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"
}