xref: /PHP-7.4/Zend/tests/bug52508.phpt (revision 26dfce7f)
1--TEST--
2Bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW)
3--FILE--
4<?php
5
6$file = __DIR__ .'/bug52508.ini';
7
8file_put_contents($file, "a = 1");
9
10$ini_array = parse_ini_file($file, true, INI_SCANNER_RAW);
11var_dump($ini_array);
12
13unlink($file);
14
15?>
16--EXPECT--
17array(1) {
18  ["a"]=>
19  string(1) "1"
20}
21