diff options
Diffstat (limited to 'ext/gd/tests/imagefilledarc_variation1.phpt')
-rw-r--r-- | ext/gd/tests/imagefilledarc_variation1.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/imagefilledarc_variation1.phpt b/ext/gd/tests/imagefilledarc_variation1.phpt index 7eb2350cb3..cc6e01b4ad 100644 --- a/ext/gd/tests/imagefilledarc_variation1.phpt +++ b/ext/gd/tests/imagefilledarc_variation1.phpt @@ -4,7 +4,7 @@ Testing passing negative end 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, 0, -25, $white, IMG_ARC_PIE); include_once __DIR__ . '/func.inc'; |