diff options
Diffstat (limited to 'ext/gd/tests/imagefilledellipse_basic.phpt')
-rw-r--r-- | ext/gd/tests/imagefilledellipse_basic.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/imagefilledellipse_basic.phpt b/ext/gd/tests/imagefilledellipse_basic.phpt index 1dee961b13..ef492510af 100644 --- a/ext/gd/tests/imagefilledellipse_basic.phpt +++ b/ext/gd/tests/imagefilledellipse_basic.phpt @@ -1,7 +1,7 @@ --TEST-- Testing imagefilledellipse() of GD library --SKIPIF-- -<?php +<?php if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- @@ -11,7 +11,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an ellipse and fill it with white color +//create an ellipse and fill it with white color imagefilledellipse($image, 50, 50, 40, 30, $white); include_once __DIR__ . '/func.inc'; |