Lines Matching refs:mkdir
2 Test mkdir() and rmdir() functions: usage variations - misc.
12 /* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]…
20 echo "\n*** Testing mkdir() and rmdir() by giving stream context as fourth argument ***\n";
21 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true, $context) );
25 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true) );
28 echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
29 var_dump( mkdir("$file_path/temp".chr(0)."/") );
32 echo "\n*** Testing mkdir() with miscelleneous input ***\n";
33 /* changing mode of mkdir to prevent creating sub-directory under it */
35 /* creating sub-directory test1 under mkdir, expected: false */
36 var_dump( mkdir("$file_path/mkdir_variation2/test1", 0777, true) );
47 *** Testing mkdir() and rmdir() by giving stream context as fourth argument ***
57 *** Testing mkdir() and rmdir() for binary safe functionality ***
59 Warning: mkdir() expects parameter 1 to be a valid path, string given in %s on line %d
65 *** Testing mkdir() with miscelleneous input ***
68 Warning: mkdir(): Permission denied in %s on line %d