diff options
Diffstat (limited to 'ext/gd/tests/bug75437.phpt')
-rw-r--r-- | ext/gd/tests/bug75437.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gd/tests/bug75437.phpt b/ext/gd/tests/bug75437.phpt index c27e3237f6..bef00bb0f0 100644 --- a/ext/gd/tests/bug75437.phpt +++ b/ext/gd/tests/bug75437.phpt @@ -1,10 +1,12 @@ --TEST-- Bug #75437 Wrong reflection on imagewebp --SKIPIF-- +<?php if (!extension_loaded('reflection')) die('skip reflection not available'); if (!extension_loaded('gd')) die('skip gd extension not available'); if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.0', '<')) die("skip test requires GD 2.2.0 or higher"); if (!function_exists('imagewebp')) die('skip WebP support not available'); +?> --FILE-- <?php $rf = new ReflectionFunction('imagewebp'); |