]> granicus.if.org Git - php/commitdiff
test requires imagejpeg(); skip otherwise
authorChristoph M. Becker <cmb@php.net>
Fri, 31 Jul 2015 11:51:49 +0000 (13:51 +0200)
committerChristoph M. Becker <cmb@php.net>
Fri, 31 Jul 2015 11:51:49 +0000 (13:51 +0200)
ext/standard/tests/image/bug70096.phpt

index 1674d07a73843ba717ecdd4c39bc9e5ad0ea3dc1..0dd55cb6ca06f594d0d87a6b3fad6b7ff044cec5 100644 (file)
@@ -3,6 +3,7 @@ Bug #70096 (Repeated iptcembed() adds superfluous FF bytes)
 --SKIPIF--
 <?php
 if (!extension_loaded('gd')) die('skip gd extension not available');
+if (!function_exists('imagejpeg')) die('skip imagejpeg not available');
 ?>
 --FILE--
 <?php