1--TEST-- 2Bug #51498 (imagefilledellipse does not work for large circles) 3--EXTENSIONS-- 4gd 5--SKIPIF-- 6<?php 7if (!GD_BUNDLED && version_compare(GD_VERSION, "2.3.0") < 0) { 8 die("skip test requires GD 2.3.0 or higher"); 9} 10if (!(imagetypes() & IMG_PNG)) { 11 die("skip No PNG support"); 12} 13?> 14--FILE-- 15<?php 16$img = imagecreatetruecolor(2200, 2200); 17$white = imagecolorallocate($img, 255, 255, 255); 18imagefilledellipse($img, 1100, 1100, 2200, 2200, $white); 19 20require_once __DIR__ . '/func.inc'; 21test_image_equals_file(__DIR__ . '/bug51498_exp.png', $img); 22?> 23--EXPECT-- 24The images are equal. 25