Fix bug #72596: imagetypes function won't advertise WEBP support
authorChristoph M. Becker <cmb@php.net>
Thu, 14 Jul 2016 14:43:13 +0000 (16:43 +0200)
committerChristoph M. Becker <cmb@php.net>
Thu, 14 Jul 2016 15:17:59 +0000 (17:17 +0200)
commit8bb3bd04a9d38c08dce0034ad8fc1263631d28ff
tree0dd9f27945cffa138be237f3d8f2b0234498475c
parent3cc4265527c7d97c3b87054f5ce46cf37351688c
Fix bug #72596: imagetypes function won't advertise WEBP support

We add the constant IMG_WEBP and make sure that WebP support is properly
reported by imagetypes().
NEWS
UPGRADING
ext/gd/gd.c
ext/gd/tests/bug72596.phpt [new file with mode: 0644]