Code: Select all
if (version_compare(phpversion(), '8.0.0', '<')) {
exit('PHP8+ Required');
}
Code: Select all
if (!(PHP_VERSION_ID >= 80100)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.';
}
At least in some plugins that use a vendor, the program execution seems to bump into this.