xref: /PHP-8.1/ext/gd/tests/bug72596.phpt (revision a375d547)
1--TEST--
2Bug #72596 (imagetypes function won't advertise WEBP support)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7var_dump(function_exists('imagewebp') === (bool) (imagetypes() & IMG_WEBP));
8?>
9--EXPECT--
10bool(true)
11