diff options
Diffstat (limited to 'ext/gd/tests/imagefilledarc_error1.phpt')
| -rw-r--r-- | ext/gd/tests/imagefilledarc_error1.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/imagefilledarc_error1.phpt b/ext/gd/tests/imagefilledarc_error1.phpt index 81d04358fb..2ef47150ee 100644 --- a/ext/gd/tests/imagefilledarc_error1.phpt +++ b/ext/gd/tests/imagefilledarc_error1.phpt @@ -4,7 +4,7 @@ Testing wrong param passing imagefilledarc() of GD library Edgar Ferreira da Silva <contato [at] edgarfs [dot] com [dot] br> #testfest PHPSP on 2009-06-20 --SKIPIF-- -<?php +<?php if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- @@ -14,7 +14,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc and fill it with white color +//create an arc and fill it with white color imagefilledarc($image, 50, 50, 30, 30, 0, 90, $white); include_once __DIR__ . '/func.inc'; |
