]> granicus.if.org Git - php/commitdiff
Skip this test if ext/gd is not available
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 30 Jul 2017 11:24:10 +0000 (13:24 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 30 Jul 2017 11:24:10 +0000 (13:24 +0200)
ext/gd/tests/bug74031.phpt

index e5d6d7091ec278b6a857a29dc456acf240f333ef..5a2b48367842517ca4cd2841ecc15f61fc0f61ae 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 (Bug #74031) ReflectionFunction for imagepng returns wrong number of parameters
+--SKIPIF--
+<?php
+if (!extension_loaded('gd')) die("skip gd extension not available\n");
+?>
 --FILE--
 <?php