Skip to content

Commit

Permalink
Remove " " being considered as an invalid filename for is_file()
Browse files Browse the repository at this point in the history
Some builds fail because of it, last one to date is: https://travis-ci.com/github/php/php-src/jobs/517817543
  • Loading branch information
patrickallaert committed Jun 23, 2021
1 parent 973ae8d commit 3221a4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ext/standard/tests/file/is_file_variation3.phpt
Expand Up @@ -18,7 +18,6 @@ function flatten($variable) {
foreach([
/* Invalid filenames */
-2.34555,
" ",
"",
true,
false,
Expand All @@ -36,7 +35,6 @@ foreach([
?>
--EXPECT--
float(-2.34555): 0
string(1) " ": 0
string(0) "": 0
bool(true): 0
bool(false): 0
Expand Down

0 comments on commit 3221a4c

Please sign in to comment.