Lines Matching refs:rmdir
2 Test mkdir() and rmdir() functions: usage variations - misc.
29 echo "\n*** Testing mkdir() and rmdir() by giving stream context as fourth argument ***\n";
31 var_dump( rmdir("$file_path/mkdir_variation2/test/", $context) );
33 echo "\n*** Testing rmdir() on a non-empty directory ***\n";
35 var_dump( rmdir("$file_path/mkdir_variation2/") );
37 echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
39 var_dump( rmdir("$file_path/temp".chr(0)."/") );
52 rmdir(dirname(__FILE__)."/mkdir_variation2/test/");
53 rmdir(dirname(__FILE__)."/mkdir_variation2/");
56 *** Testing mkdir() and rmdir() by giving stream context as fourth argument ***
60 *** Testing rmdir() on a non-empty directory ***
63 Warning: rmdir(%s/mkdir_variation2/): %s on line %d
66 *** Testing mkdir() and rmdir() for binary safe functionality ***
71 Warning: rmdir() expects parameter 1 to be a valid path, string given in %s on line %d