protected static function find_php_cli_path() {
        global $CFG;

        if (!empty($CFG->pathtophp) && is_executable(trim($CFG->pathtophp))) {
            return $CFG->pathtophp;
        }

        return false;
    }
protected static function find_php_cli_path() {
        global $CFG;

        if (!empty($CFG->pathtophp) && is_executable(trim($CFG->pathtophp))) {
            return $CFG->pathtophp;
        }

        return false;
    }
protected static function find_php_cli_path ( ) { global $ CFG ; if ( ! empty ( $ CFG -> pathtophp ) && is_executable ( trim ( $ CFG -> pathtophp ) ) ) { return $ CFG -> pathtophp ; } return false ; }
Find the path of PHP CLI binary.

@return string|false The PHP CLI executable PATH
Find the path of PHP CLI binary .