Lines Matching refs:mkdir
2 Test mkdir() and rmdir() functions: usage variations - misc.
17 echo "\n*** Testing mkdir() and rmdir() by giving stream context as fourth argument ***\n";
18 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true, $context) );
22 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true) );
25 echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
27 var_dump( mkdir("$file_path/temp".chr(0)."/") );
37 echo "\n*** Testing mkdir() with miscellaneous input ***\n";
38 /* changing mode of mkdir to prevent creating sub-directory under it */
40 /* creating sub-directory test1 under mkdir, expected: false */
41 var_dump( mkdir("$file_path/mkdir_variation2/test1", 0777, true) );
52 *** Testing mkdir() and rmdir() by giving stream context as fourth argument ***
62 *** Testing mkdir() and rmdir() for binary safe functionality ***
63 mkdir(): Argument #1 ($directory) must not contain any null bytes
66 *** Testing mkdir() with miscellaneous input ***
69 Warning: mkdir(): Permission denied in %s on line %d