src/base/BinaryPhp.php
public function detectCommand($path)
    {
        $path = parent::detectCommand($path);

        return is_executable($path) ? $path : '/usr/bin/env php ' . $path;
    }
public function detectCommand($path)
    {
        $path = parent::detectCommand($path);

        return is_executable($path) ? $path : '/usr/bin/env php ' . $path;
    }
public function detectCommand ( $ path ) { $ path = parent :: detectCommand ( $ path ) ; return is_executable ( $ path ) ? $ path : '/usr/bin/env php ' . $ path ; }
Detect command execution string.
@param mixed $path
@return string
Detect command execution string .