We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bf451b commit 992b5f2Copy full SHA for 992b5f2
ext/curl/tests/server.inc
@@ -1,7 +1,7 @@
1
<?php declare(strict_types=1);
2
3
function curl_cli_server_start() {
4
- $php_executable = getenv('TEST_PHP_EXECUTABLE');
+ $php_executable = getenv('TEST_PHP_EXECUTABLE') ?: PHP_BINARY;
5
$doc_root = __DIR__;
6
$router = "responder/get.inc";
7
$cmd = [$php_executable, '-t', $doc_root, '-n', '-S', 'localhost:0', $router];
0 commit comments