--TEST-- MessageFormat accepts IntlCalendar args icu >= 4.8 && icu < 50.1.2 --SKIPIF-- = 0) die('skip for ICU < 50.1.2'); ?> --FILE-- format(array($cal)), "\n"; //NOT FIXED: /*$msgf = new MessageFormatter('en_US', '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}'); echo "msgf2: ", $msgf->format(array($time, 'date')), " ", $msgf->format(array($time, 'time')), "\n"; */ ?> --EXPECT-- Quinta-feira, 17 de Maio de 2012 5:35:36 p.m. WEST