builder->getPHPVersionID() < 80000 && getenv('SPC_SKIP_PHP_VERSION_CHECK') !== 'yes') { throw new ValidationException('The latest protobuf extension requires PHP 8.0 or later'); } $grpc = $this->builder->getExt('grpc'); // protobuf conflicts with grpc if ($grpc?->isBuildStatic()) { throw new ValidationException('protobuf conflicts with grpc, please remove grpc or protobuf extension'); } } }