1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00

Don't pass null to strlen()

This commit is contained in:
Nikita Popov
2020-11-30 17:01:09 +01:00
parent 715d89e166
commit 6fdc988592
+1 -1
View File
@@ -699,7 +699,7 @@ function main(): void
$environment['TEST_PHP_EXECUTABLE'] = $php;
}
if (strlen($conf_passed)) {
if ($conf_passed !== null) {
if (IS_WINDOWS) {
$pass_options .= " -c " . escapeshellarg($conf_passed);
} else {