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/strings/ |
files >> //php-7.1.11/ext/standard/tests/strings/dirname_multi.phpt |
--TEST-- Test dirname() function : usage variations --SKIPIF-- <?php if((substr(PHP_OS, 0, 3) == "WIN")) die('skip not for Windows'); ?> --FILE-- <?php /* Prototype: string dirname ( string $path [, int nb]); Description: Returns directory name component of path. */ for ($i=0 ; $i<5 ; $i++) { var_dump(dirname("/foo/bar/baz", $i)); } var_dump(dirname("/foo/bar/baz", PHP_INT_MAX)); ?> Done --EXPECTF-- Warning: dirname(): Invalid argument, levels must be >= 1 in %sdirname_multi.php on line %d NULL string(8) "/foo/bar" string(4) "/foo" string(1) "/" string(1) "/" string(1) "/" Doney~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`