src/FACTFinder/Util/CurlStub.php
private function versionNewerThan($major, $minor = 0, $patch = 0)
    {
        $versionInfo = $this->version();

        $versionParts = explode('.', $versionInfo['version']);

        return $major > $versionParts[0]
            || $major == $versionParts[0] && $minor > $versionParts[1]
            || $major == $versionParts[0] && $minor == $versionParts[1] && $patch >= $versionParts[2];
    }
private function versionNewerThan($major, $minor = 0, $patch = 0)
    {
        $versionInfo = $this->version();

        $versionParts = explode('.', $versionInfo['version']);

        return $major > $versionParts[0]
            || $major == $versionParts[0] && $minor > $versionParts[1]
            || $major == $versionParts[0] && $minor == $versionParts[1] && $patch >= $versionParts[2];
    }
Helper functions