Skip to content

Commit

Permalink
Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt
Browse files Browse the repository at this point in the history
  • Loading branch information
villfa authored and cmb69 committed Oct 25, 2017
1 parent 0fbb9f3 commit e763a1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/gd/tests/bug75437.phpt
Original file line number Diff line number Diff line change
@@ -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');
Expand Down

0 comments on commit e763a1c

Please sign in to comment.