xref: /php-src/ext/gd/tests/bug70047.phpt (revision a375d547)
1--TEST--
2Bug #70047 (gd_info() doesn't report WebP support)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7$info = gd_info();
8var_dump(array_key_exists('WebP Support', $info));
9var_dump($info['WebP Support'] === function_exists('imagewebp'));
10?>
11--EXPECT--
12bool(true)
13bool(true)
14