xref: /PHP-7.4/ext/gd/tests/bug72604.phpt (revision 371f4125)
1--TEST--
2Bug #72604 (imagearc() ignores thickness for full arcs)
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip requires ext/gd');
6?>
7--FILE--
8<?php
9$im = imagecreatetruecolor(100, 100);
10imagesetthickness($im, 5);
11imagearc($im, 50, 50, 90, 90, 0, 360, 0xffffff);
12
13include_once __DIR__ . '/func.inc';
14test_image_equals_file(__DIR__ . '/bug72604.png', $im);
15?>
16--EXPECT--
17The images are equal.
18