Skip to content

Commit 6fdc988

Browse files
committed
Don't pass null to strlen()
1 parent 715d89e commit 6fdc988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ function main(): void
699699
$environment['TEST_PHP_EXECUTABLE'] = $php;
700700
}
701701

702-
if (strlen($conf_passed)) {
702+
if ($conf_passed !== null) {
703703
if (IS_WINDOWS) {
704704
$pass_options .= " -c " . escapeshellarg($conf_passed);
705705
} else {

0 commit comments

Comments
 (0)