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/file/ |
files >> //php-7.1.11/ext/standard/tests/file/is_dir_variation1.phpt |
--TEST-- Test is_dir() function: usage variations - dir/subdir --FILE-- <?php /* Prototype: bool is_dir ( string $dirname ); Description: Tells whether the dirname is a directory Returns TRUE if the dirname exists and is a directory, FALSE otherwise. */ /* Testing is_dir() with base and sub dirs */ $file_path = dirname(__FILE__); echo "-- Testing is_dir() with an empty dir --\n"; $dirname = $file_path."/is_dir_variation1"; mkdir($dirname); var_dump( is_dir($dirname) ); clearstatcache(); echo "-- Testing is_dir() with a subdir in base dir --\n"; $subdirname = $dirname."/is_dir_variation1_sub"; mkdir($subdirname); var_dump( is_dir($subdirname) ); var_dump( is_dir($dirname) ); echo "\n*** Done ***"; ?> --CLEAN-- <?php $file_path = dirname(__FILE__); $dir_name = $file_path."/is_dir_variation1"; rmdir($dir_name."/is_dir_variation1_sub"); rmdir($dir_name); ?> --EXPECTF-- -- Testing is_dir() with an empty dir -- bool(true) -- Testing is_dir() with a subdir in base dir -- bool(true) bool(true) *** Done ***y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`