xref: /php-src/ext/gd/tests/bug72604.phpt (revision 0b8466f2)
1--TEST--
2Bug #72604 (imagearc() ignores thickness for full arcs)
3--EXTENSIONS--
4gd
5--SKIPIF--
6<?php
7if (!(imagetypes() & IMG_PNG)) {
8    die("skip No PNG support");
9}
10?>
11--FILE--
12<?php
13$im = imagecreatetruecolor(100, 100);
14imagesetthickness($im, 5);
15imagearc($im, 50, 50, 90, 90, 0, 360, 0xffffff);
16
17include_once __DIR__ . '/func.inc';
18test_image_equals_file(__DIR__ . '/bug72604.png', $im);
19?>
20--EXPECT--
21The images are equal.
22