mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
17 lines
333 B
PHP
17 lines
333 B
PHP
--TEST--
|
|
Bug #69551 - parse_ini_file() and parse_ini_string() segmentation fault
|
|
--FILE--
|
|
<?php
|
|
$ini = <<<INI
|
|
[Network.eth0]
|
|
SubnetMask = "
|
|
"
|
|
INI;
|
|
$settings = parse_ini_string($ini, false, INI_SCANNER_RAW);
|
|
var_dump($settings);
|
|
?>
|
|
--EXPECTF--
|
|
Warning: syntax error, unexpected '"' in Unknown on line %d
|
|
in %s on line %d
|
|
bool(false)
|