1--TEST--
2Testing imagefilledellipse() of GD library
3--SKIPIF--
4<?php
5if (!extension_loaded("gd")) die("skip GD not present");
6?>
7--FILE--
8<?php
9
10$image = imagecreatetruecolor(100, 100);
11
12$white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF);
13
14//create an ellipse and fill it with white color
15imagefilledellipse($image, 50, 50, 40, 30, $white);
16
17include_once __DIR__ . '/func.inc';
18test_image_equals_file(__DIR__ . '/imagefilledellipse_basic.png', $image);
19?>
20--EXPECT--
21The images are equal.
22