public static checkRequirements ( ) : boolean | ||
return | boolean | whether the requirements are satisfied. |
public static function checkRequirements()
{
return extension_loaded('gd') && function_exists('imagettftext') && function_exists('imagepng');
}