gd_info

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Retrieve information about the currently installed GD library
<?php gd_info(): array
<?php     private function isGDSupported(string $driver = 'GD Version'): bool

    {

        $gdInfo = gd_info();



        if (isset($gdInfo[$driver])) {

            return $gdInfo[$driver];