version_compare

Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Compares two "PHP-standardized" version number strings
version_compare(string $version1string $version2, ?string $operator null): int|bool
        $version explode(' '$version)[2];



        if (
version_compare($version$this->requiredVersion'<')) {

            
$this->warn("Your RoadRunner binary version (<fg=red>$version</>) may be incompatible with Octane.");



            if (
$this->confirm('Should Octane download the latest RoadRunner binary version for your operating system?'true)) {