xref: /PHP-5.6/ext/gd/tests/bug72596.phpt (revision 8bb3bd04)
1--TEST--
2Bug #72596 (imagetypes function won't advertise WEBP support)
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip gd extension not available');
6?>
7--FILE--
8<?php
9var_dump(function_exists('imagewebp') === (bool) (imagetypes() & IMG_WEBP));
10?>
11--EXPECT--
12bool(true)
13