mirror of
https://github.com/php/php-src.git
synced 2024-12-21 16:00:18 +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)
|