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()
197197 $ environment ['TEST_PHP_CGI_EXECUTABLE ' ] = $ php_cgi ;
198198 }
199199
200- if (!getenv ('TEST_PHPDBG_EXECUTABLE ' )) {
200+ if (!getenv ('TEST_PHPDBG_EXECUTABLE ' ) && $ php !== null ) {
201201 if (!strncasecmp (PHP_OS , "win " , 3 ) && file_exists (dirname ($ php ) . "/phpdbg.exe " )) {
202202 $ phpdbg = realpath (dirname ($ php ) . "/phpdbg.exe " );
203203 } elseif (file_exists (dirname ($ php ) . "/../../sapi/phpdbg/phpdbg " )) {
@@ -668,7 +668,7 @@ function main()
668668 $ environment ['TEST_PHP_EXECUTABLE ' ] = $ php ;
669669 }
670670
671- if (strlen ( $ conf_passed) ) {
671+ if ($ conf_passed !== null ) {
672672 if (substr (PHP_OS , 0 , 3 ) == "WIN " ) {
673673 $ pass_options .= " -c " . escapeshellarg ($ conf_passed );
674674 } else {
You can’t perform that action at this time.
0 commit comments