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