diff options
Diffstat (limited to 'ext/standard/tests/file/mkdir_variation5-win32.phpt')
-rw-r--r-- | ext/standard/tests/file/mkdir_variation5-win32.phpt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/standard/tests/file/mkdir_variation5-win32.phpt b/ext/standard/tests/file/mkdir_variation5-win32.phpt index c7ebd518da..b805dee3be 100644 --- a/ext/standard/tests/file/mkdir_variation5-win32.phpt +++ b/ext/standard/tests/file/mkdir_variation5-win32.phpt @@ -6,13 +6,13 @@ Dave Kelsey <d_kelsey@uk.ibm.com> <?php if(substr(PHP_OS, 0, 3) != "WIN") die("skip Only valid for Windows"); -?> +?> --FILE-- <?php /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]]) - * Description: Create a directory + * Description: Create a directory * Source code: ext/standard/file.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing mkdir() : variation ***\n"; @@ -29,35 +29,35 @@ $dirs = array( $workDir.'\\'.$subDir, '.\\'.$workDir.'\\'.$subDir, $workDir.'\\..\\'.$workDir.'\\'.$subDir, - + // relative bad path $workDir.'\\..\\BADDIR\\'.$subDir, 'BADDIR\\'.$subDir, - + //absolute $cwd.'\\'.$workDir.'\\'.$subDir, $cwd.'\\.\\'.$workDir.'\\'.$subDir, $cwd.'\\'.$workDir.'\\..\\'.$workDir.'\\'.$subDir, - //absolute bad path + //absolute bad path $cwd.'\\BADDIR\\'.$subDir, - + //trailing separators $workDir.'\\'.$subDir.'\\', $cwd.'\\'.$workDir.'\\'.$subDir.'\\', - + // multiple separators $workDir.'\\\\'.$subDir, $cwd.'\\\\'.$workDir.'\\\\'.$subDir, - + // Unixified Dir $unixifiedDir, - + ); - + foreach($dirs as $dir) { - echo "-- creating $dir --\n"; + echo "-- creating $dir --\n"; $res = mkdir($dir); if ($res === true) { echo "Directory created\n"; |