diff options
Diffstat (limited to 'ext/gd/tests/imagearc_basic.phpt')
-rw-r--r-- | ext/gd/tests/imagearc_basic.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/imagearc_basic.phpt b/ext/gd/tests/imagearc_basic.phpt index b4761f2399..0e2ea3b514 100644 --- a/ext/gd/tests/imagearc_basic.phpt +++ b/ext/gd/tests/imagearc_basic.phpt @@ -4,7 +4,7 @@ Testing imagearc() 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 with white color +//create an arc with white color imagearc($image, 50, 50, 30, 30, 0, 180, $white); include_once __DIR__ . '/func.inc'; |