xref: /PHP-7.4/Zend/tests/bug69551.phpt (revision 2ba9681e)
1--TEST--
2Bug #69551 - parse_ini_file() and parse_ini_string() segmentation fault
3--FILE--
4<?php
5$ini = <<<INI
6[Network.eth0]
7SubnetMask = "
8"
9INI;
10$settings = parse_ini_string($ini, false, INI_SCANNER_RAW);
11var_dump($settings);
12?>
13--EXPECTF--
14Warning: syntax error, unexpected '"' in Unknown on line %d
15 in %s on line %d
16bool(false)
17