1--TEST-- 2Bug #67052 - NumberFormatter::parse() resets LC_NUMERIC setting 3--SKIPIF-- 4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> 5--FILE-- 6<?php 7 8function ut_main() 9{ 10 setlocale(LC_ALL, 'de_DE'); 11 12 $fmt = new NumberFormatter( 'sl_SI.UTF-8', NumberFormatter::DECIMAL); 13 $num = "1.234.567,891"; 14 $res_str = $fmt->parse($num)."\n"; 15 $res_str .= setlocale(LC_NUMERIC, 0); 16 return $res_str; 17} 18 19include_once( 'ut_common.inc' ); 20ut_run(); 21 22?> 23--EXPECT-- 241234567,891 25de_DE 26