com php-src: Skip this test if ext/gd is not available: ext/gd/tests/bug74031.phpt

From: Date: Sun, 30 Jul 2017 11:24:10 +0000
Subject: com php-src: Skip this test if ext/gd is not available: ext/gd/tests/bug74031.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98861@lists.php.net to get a copy of this message
Commit: 4d6f808c16baceb795a5c65179c5f44abb53f95b Author: Christoph M. Becker <cmbecker69@gmx.de> Sun, 30 Jul 2017 13:24:10 +0200 Parents: e3d25e78eb73c7b7bce0cd175578f7ce32741c5f Branches: PHP-7.0 PHP-7..1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4d6f808c16baceb795a5c65179c5f44abb53f95b Log: Skip this test if ext/gd is not available Changed paths: M ext/gd/tests/bug74031.phpt Diff: diff --git a/ext/gd/tests/bug74031.phpt b/ext/gd/tests/bug74031.phpt index e5d6d70..5a2b483 100644 --- a/ext/gd/tests/bug74031.phpt +++ b/ext/gd/tests/bug74031.phpt @@ -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

« previous php.cvs (#98861) next »