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/date/tests/ |
files >> //php-7.1.11/ext/date/tests/getdate_error.phpt |
--TEST-- Test getdate() function : error conditions --FILE-- <?php /* Prototype : array getdate([int timestamp]) * Description: Get date/time information * Source code: ext/date/php_date.c * Alias to functions: */ echo "*** Testing getdate() : error conditions ***\n"; //Set the default time zone date_default_timezone_set("America/Chicago"); //Test getdate with one more than the expected number of arguments echo "\n-- Testing getdate() function with more than expected no. of arguments --\n"; $timestamp = 10; $extra_arg = 10; var_dump( getdate($timestamp, $extra_arg) ); ?> ===DONE=== --EXPECTF-- *** Testing getdate() : error conditions *** -- Testing getdate() function with more than expected no. of arguments -- Warning: getdate() expects at most 1 parameter, 2 given in %s on line %d bool(false) ===DONE===y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`