php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/intl/tests/ |
files >> //php-7.1.11/ext/intl/tests/msgfmt_format_intlcalendar_variant4.phpt |
--TEST-- MessageFormat accepts IntlCalendar args --SKIPIF-- <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> <?php if (version_compare(INTL_ICU_VERSION, '54.1') < 0) die('skip for ICU >= 54.1'); ?> --FILE-- <?php ini_set("intl.error_level", E_WARNING); //ini_set("intl.default_locale", "nl"); ini_set('date.timezone', 'Europe/Lisbon'); $cal = new IntlGregorianCalendar(2012,04,17,17,35,36); $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}'); echo $msgf->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"; */ ?> ==DONE== --EXPECT-- quinta-feira, 17 de maio de 2012 5:35:36 da tarde ptlis ==DONE==y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`