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