--TEST--
Bug #49056 (parse_ini_*() regression in 5.3.0 when using non-ASCII strings as option keys)
--FILE--
<?php
$string = <<<EOT
Cooking_furniture="Küchen Möbel (en)"
Küchen_Möbel="Cooking furniture (en)"
EOT;
$filename = dirname(__FILE__) . '/bug49056.tmp';
file_put_contents( $filename, $string);
var_dump(parse_ini_file($filename));
?>
--CLEAN--
<?php @unlink(dirname(__FILE__) . '/bug49056.tmp'); ?>
--EXPECT--
array(2) {
["Cooking_furniture"]=>
string(23) "Küchen Möbel (en)"
["Küchen_Möbel"]=>
string(22) "Cooking furniture (en)"
}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>