gd_info
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Retrieve information about the currently installed GD library
gd_info
(): array
laravel/framework
private function
isGDSupported
(
string $driver
=
'GD Version'
):
bool
{
$gdInfo
=
gd_info
();
if (isset(
$gdInfo
[
$driver
])) {
return
$gdInfo
[
$driver
];
tests/Http/HttpTestingFileFactoryTest.php