]> granicus.if.org Git - php/commitdiff
improve test
authorAntony Dovgal <tony2001@php.net>
Thu, 3 May 2007 12:10:02 +0000 (12:10 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 3 May 2007 12:10:02 +0000 (12:10 +0000)
ext/gd/tests/createfromstring.phpt

index 573195fe7c0a14be1fe0eac3b307d0b94ca409cc..cf7d1952fb17ebecee36014b7929407aef35bf7a 100644 (file)
@@ -3,6 +3,7 @@ imagecreatefromstring
 --SKIPIF--
 <?php
         if (!function_exists('imagecreatefromstring')) die("skip gd extension not available\n");
+               if (!function_exists('imagepng')) die("skip no imagpng()\n");
 ?>
 --FILE--
 <?php