Browse Source

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt
PHP-7.1.12
Christoph M. Becker 9 years ago
parent
commit
b6b0289f5e
  1. 2
      ext/gd/tests/bug75437.phpt

2
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');

Loading…
Cancel
Save