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/basename_invalid_path.phpt |
--TEST-- Test basename() function : usage variations with invalid paths --SKIPIF-- <?php if((substr(PHP_OS, 0, 3) == "WIN")) die('skip not for Windows"'); ?> --FILE-- <?php /* Prototype: string basename ( string $path [, string $suffix] ); Description: Given a string containing a path to a file, this function will return the base name of the file. If the filename ends in suffix this will also be cut off. */ var_dump(basename(chr(-1))); echo "Done\n"; --EXPECTF-- string(0) "" Doney~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`