1--TEST-- 2Bug #49056 (parse_ini_*() regression in 5.3.0 when using non-ASCII strings as option keys) 3--FILE-- 4<?php 5 6$string = <<<EOT 7Cooking_furniture="Küchen Möbel (en)" 8Küchen_Möbel="Cooking furniture (en)" 9EOT; 10 11$filename = dirname(__FILE__) . '/bug49056.tmp'; 12 13file_put_contents( $filename, $string); 14 15var_dump(parse_ini_file($filename)); 16 17?> 18--CLEAN-- 19<?php @unlink(dirname(__FILE__) . '/bug49056.tmp'); ?> 20--EXPECT-- 21array(2) { 22 ["Cooking_furniture"]=> 23 string(23) "Küchen Möbel (en)" 24 ["Küchen_Möbel"]=> 25 string(22) "Cooking furniture (en)" 26} 27