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/standard/tests/dir/ |
files >> //php-7.1.11/ext/standard/tests/dir/getcwd_error.phpt |
--TEST-- Test getcwd() function : error conditions - Incorrect number of arguments --FILE-- <?php /* Prototype : mixed getcwd(void) * Description: Gets the current directory * Source code: ext/standard/dir.c */ /* * Pass incorrect number of arguments to getcwd() to test behaviour */ echo "*** Testing getcwd() : error conditions ***\n"; // One argument echo "\n-- Testing getcwd() function with one argument --\n"; $extra_arg = 10; var_dump( getcwd($extra_arg) ); ?> ===DONE=== --EXPECTF-- *** Testing getcwd() : error conditions *** -- Testing getcwd() function with one argument -- Warning: getcwd() expects exactly 0 parameters, 1 given in %s on line %d NULL ===DONE===y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`