We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e594db commit db90b37Copy full SHA for db90b37
1 file changed
run-tests.php
@@ -197,7 +197,7 @@ function main()
197
$environment['TEST_PHP_CGI_EXECUTABLE'] = $php_cgi;
198
}
199
200
- if (!getenv('TEST_PHPDBG_EXECUTABLE')) {
+ if (!getenv('TEST_PHPDBG_EXECUTABLE') && $php !== null) {
201
if (!strncasecmp(PHP_OS, "win", 3) && file_exists(dirname($php) . "/phpdbg.exe")) {
202
$phpdbg = realpath(dirname($php) . "/phpdbg.exe");
203
} elseif (file_exists(dirname($php) . "/../../sapi/phpdbg/phpdbg")) {
@@ -668,7 +668,7 @@ function main()
668
$environment['TEST_PHP_EXECUTABLE'] = $php;
669
670
671
- if (strlen($conf_passed)) {
+ if ($conf_passed !== null) {
672
if (substr(PHP_OS, 0, 3) == "WIN") {
673
$pass_options .= " -c " . escapeshellarg($conf_passed);
674
} else {
0 commit comments