Skip to content

Commit 3221a4c

Browse files
Remove " " being considered as an invalid filename for is_file()
Some builds fail because of it, last one to date is: https://travis-ci.com/github/php/php-src/jobs/517817543
1 parent 973ae8d commit 3221a4c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ext/standard/tests/file/is_file_variation3.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ function flatten($variable) {
1818
foreach([
1919
/* Invalid filenames */
2020
-2.34555,
21-
" ",
2221
"",
2322
true,
2423
false,
@@ -36,7 +35,6 @@ foreach([
3635
?>
3736
--EXPECT--
3837
float(-2.34555): 0
39-
string(1) " ": 0
4038
string(0) "": 0
4139
bool(true): 0
4240
bool(false): 0

0 commit comments

Comments
 (0)