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/formatter_get_error.phpt |
--TEST-- numfmt_get_error_message/code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> --FILE-- <?php /* * Error handling. */ function ut_main() { $fmt = ut_nfmt_create( "en_US", NumberFormatter::CURRENCY ); $currency = ''; $pos = 0; $num = ut_nfmt_parse_currency( $fmt, '123.45', $currency, $pos ); if( $num === false ) return $fmt->getErrorMessage() . " (" . $fmt->getErrorCode() . ")\n"; else return "Ooops, an error should have occurred."; } include_once( 'ut_common.inc' ); // Run the test ut_run(); ?> --EXPECT-- Number parsing failed: U_PARSE_ERROR (9)y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`