mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
21 lines
322 B
PHP
21 lines
322 B
PHP
--TEST--
|
|
Bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW)
|
|
--FILE--
|
|
<?php
|
|
|
|
$file = dirname(__FILE__) .'/bug52508.ini';
|
|
|
|
file_put_contents($file, "a = 1");
|
|
|
|
$ini_array = parse_ini_file($file, true, INI_SCANNER_RAW);
|
|
var_dump($ini_array);
|
|
|
|
unlink($file);
|
|
|
|
?>
|
|
--EXPECT--
|
|
array(1) {
|
|
["a"]=>
|
|
string(1) "1"
|
|
}
|