You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/standard/tests/file/rename_variation13-win32.phpt
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@ $names_arr = array(
17
17
-1, /* -1 is just a valid filename on windows */
18
18
TRUE, /* 1 as well, (string)TRUE > "1" */
19
19
FALSE,
20
-
NULL,
21
20
"", // I think both p8 and php are wrong on the messages here
22
21
//p8 generates different messages to php, php is probably wrong
23
22
//php has either "File Exists" or "Permission Denied".
@@ -80,35 +79,28 @@ bool(false)
80
79
81
80
Warning: rename(,%safile.tmp): %r(Invalid argument|(The parameter is incorrect|The system cannot find the path specified) \(code: \d+\))%r in %srename_variation13-win32.php on line %d
82
81
bool(false)
83
-
-- 3 testing '' NULL --
82
+
-- 3 testing '' string --
84
83
85
84
Warning: rename(%safile.tmp,): %r(Invalid argument|(The parameter is incorrect|The system cannot find the path specified) \(code: \d+\))%r in %srename_variation13-win32.php on line %d
86
85
bool(false)
87
86
88
87
Warning: rename(,%safile.tmp): %r(Invalid argument|(The parameter is incorrect|The system cannot find the path specified) \(code: \d+\))%r in %srename_variation13-win32.php on line %d
89
88
bool(false)
90
-
-- 4 testing '' string --
91
-
92
-
Warning: rename(%safile.tmp,): %r(Invalid argument|(The parameter is incorrect|The system cannot find the path specified) \(code: \d+\))%r in %srename_variation13-win32.php on line %d
93
-
bool(false)
94
-
95
-
Warning: rename(,%safile.tmp): %r(Invalid argument|(The parameter is incorrect|The system cannot find the path specified) \(code: \d+\))%r in %srename_variation13-win32.php on line %d
96
-
bool(false)
97
-
-- 5 testing ' ' string --
89
+
-- 4 testing ' ' string --
98
90
99
91
Warning: rename(%s): The filename, directory name, or volume label syntax is incorrect (code: 123) in %srename_variation13-win32.php on line %d
100
92
bool(false)
101
93
102
94
Warning: rename(%s): The filename, directory name, or volume label syntax is incorrect (code: 123) in %srename_variation13-win32.php on line %d
103
95
bool(false)
104
-
-- 6 testing '/no/such/file/dir' string --
96
+
-- 5 testing '/no/such/file/dir' string --
105
97
106
98
Warning: rename(%safile.tmp,/no/such/file/dir): The system cannot find the path specified (code: 3) in %srename_variation13-win32.php on line %d
107
99
bool(false)
108
100
109
101
Warning: rename(/no/such/file/dir,%safile.tmp): The system cannot find the path specified (code: 3) in %srename_variation13-win32.php on line %d
110
102
bool(false)
111
-
-- 7 testing 'php/php' string --
103
+
-- 6 testing 'php/php' string --
112
104
113
105
Warning: rename(%safile.tmp,php/php): The system cannot find the path specified (code: 3) in %srename_variation13-win32.php on line %d
0 commit comments