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:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user