Lines Matching refs:mkdir
2 Test mkdir() and rmdir() functions: usage variations - misc.
21 /* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]…
29 echo "\n*** Testing mkdir() and rmdir() by giving stream context as fourth argument ***\n";
30 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true, $context) );
34 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true) );
37 echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
38 var_dump( mkdir("$file_path/temp".chr(0)."/") );
41 echo "\n*** Testing mkdir() with miscelleneous input ***\n";
42 /* changing mode of mkdir to prevent creating sub-directory under it */
44 /* creating sub-directory test1 under mkdir, expected: false */
45 var_dump( mkdir("$file_path/mkdir_variation2/test1", 0777, true) );
56 *** Testing mkdir() and rmdir() by giving stream context as fourth argument ***
66 *** Testing mkdir() and rmdir() for binary safe functionality ***
68 Warning: mkdir() expects parameter 1 to be a valid path, string given in %s on line %d
74 *** Testing mkdir() with miscelleneous input ***
77 Warning: mkdir(): Permission denied in %s on line %d