summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Villepinte <fabien.villepinte@gmail.com>2017-10-25 13:53:52 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2017-10-25 14:39:38 +0200
commite763a1cdc7483a5ca32703ff5ff8b7fc9baaa1e1 (patch)
tree4e305046907926ed51af5141b8d76cffbb859321
parent0fbb9f343f9cff71532f28d86cfcc93f5fb3997e (diff)
downloadphp-git-e763a1cdc7483a5ca32703ff5ff8b7fc9baaa1e1.tar.gz
Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt
-rw-r--r--ext/gd/tests/bug75437.phpt2
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');