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

index b3d7dde157518b7558ab7725e9dd1fe476bd145a..a3c2e977b6d1768c653721e2099643cc6cd1899a 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