mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
a375d54785
Cf. PR #6787. Closes GH-6994.
14 lines
265 B
PHP
14 lines
265 B
PHP
--TEST--
|
|
Bug #70047 (gd_info() doesn't report WebP support)
|
|
--EXTENSIONS--
|
|
gd
|
|
--FILE--
|
|
<?php
|
|
$info = gd_info();
|
|
var_dump(array_key_exists('WebP Support', $info));
|
|
var_dump($info['WebP Support'] === function_exists('imagewebp'));
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
bool(true)
|