diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 880d6dddc7d70..67349e8749bf7 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -605,6 +605,15 @@ PHP_MINFO_FUNCTION(gd) #endif #ifdef HAVE_GD_AVIF php_info_print_table_row(2, "AVIF Support", "enabled"); +#ifdef HAVE_GD_BUNDLED +#include + { + php_info_print_table_row(2, "AVIF Version", avifVersion()); + char tmp[256]; + avifCodecVersions(tmp); + php_info_print_table_row(2, "AVIF Codecs", tmp); + } +#endif #endif #ifdef HAVE_GD_TGA php_info_print_table_row(2, "TGA Read Support", "enabled");