We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Illuminate\Support\php_binary()
1 parent 56898ec commit c05314fCopy full SHA for c05314f
src/NewCommand.php
@@ -856,7 +856,9 @@ protected function findComposer()
856
*/
857
protected function phpBinary()
858
{
859
- $phpBinary = (new PhpExecutableFinder)->find(false);
+ $phpBinary = function_exists('Illuminate\Support\php_binary')
860
+ ? \Illuminate\Support\php_binary()
861
+ : (new PhpExecutableFinder)->find(false);
862
863
return $phpBinary !== false
864
? ProcessUtils::escapeArgument($phpBinary)
0 commit comments