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
This commit is contained in:
Patrick Allaert 2021-06-22 19:36:37 +02:00 committed by Patrick Allaert
parent 973ae8d3e2
commit 3221a4cb4c

View File

@ -18,7 +18,6 @@ function flatten($variable) {
foreach([
/* Invalid filenames */
-2.34555,
" ",
"",
true,
false,
@ -36,7 +35,6 @@ foreach([
?>
--EXPECT--
float(-2.34555): 0
string(1) " ": 0
string(0) "": 0
bool(true): 0
bool(false): 0