diff options
Diffstat (limited to 'ext/gd/tests/imagefilledarc_variation2.phpt')
-rw-r--r-- | ext/gd/tests/imagefilledarc_variation2.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/imagefilledarc_variation2.phpt b/ext/gd/tests/imagefilledarc_variation2.phpt index 28cb517631..feb81a8e06 100644 --- a/ext/gd/tests/imagefilledarc_variation2.phpt +++ b/ext/gd/tests/imagefilledarc_variation2.phpt @@ -4,7 +4,7 @@ Testing passing negative start angle to 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"); if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) { die("skip test requires GD 2.2.2 or higher"); @@ -17,7 +17,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, -25, 25, $white, IMG_ARC_PIE); include_once __DIR__ . '/func.inc'; |