diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2017-10-25 14:47:11 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2017-10-25 14:47:11 +0200 |
commit | b6b0289f5e75be4e3c96e36eaf9ad637f21b724b (patch) | |
tree | 31ca03c11e964410cc1cae5b8f00c94babf58128 /ext/gd | |
parent | 9d59beb8baf29411e5b1679169e9282fac325ee5 (diff) | |
parent | e763a1cdc7483a5ca32703ff5ff8b7fc9baaa1e1 (diff) | |
download | php-git-b6b0289f5e75be4e3c96e36eaf9ad637f21b724b.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt
Diffstat (limited to 'ext/gd')
-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'); |