File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ function main()
197
197
$ environment ['TEST_PHP_CGI_EXECUTABLE ' ] = $ php_cgi ;
198
198
}
199
199
200
- if (!getenv ('TEST_PHPDBG_EXECUTABLE ' )) {
200
+ if (!getenv ('TEST_PHPDBG_EXECUTABLE ' ) && $ php !== null ) {
201
201
if (!strncasecmp (PHP_OS , "win " , 3 ) && file_exists (dirname ($ php ) . "/phpdbg.exe " )) {
202
202
$ phpdbg = realpath (dirname ($ php ) . "/phpdbg.exe " );
203
203
} elseif (file_exists (dirname ($ php ) . "/../../sapi/phpdbg/phpdbg " )) {
@@ -668,7 +668,7 @@ function main()
668
668
$ environment ['TEST_PHP_EXECUTABLE ' ] = $ php ;
669
669
}
670
670
671
- if (strlen ( $ conf_passed) ) {
671
+ if ($ conf_passed !== null ) {
672
672
if (substr (PHP_OS , 0 , 3 ) == "WIN " ) {
673
673
$ pass_options .= " -c " . escapeshellarg ($ conf_passed );
674
674
} else {
You can’t perform that action at this time.
0 commit comments