gd_info
PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
gd_info - Retrieve information about the currently installed GD library
Code Examples
Example #1 Using gd_info
Result: array(10) {
["GD Version"]=>
string(24) "bundled (2.1.0 compatible)"
["FreeType Support"]=>
bool(false)
["GIF Read Support"]=>
bool(true)
["GIF Create Support"]=>
bool(false)
["JPEG Support"]=>
bool(false)
["PNG Support"]=>
bool(true)
["WBMP Support"]=>
bool(true)
["XBM Support"]=>
bool(false)
["WebP Support"]=>
bool(false)
["AVIF Support"]=>
bool(false)
}