mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
371f41250c
PNG support is required to build ext/gd, so there's no need to check for it in the tests.
18 lines
401 B
PHP
18 lines
401 B
PHP
--TEST--
|
|
Bug #72604 (imagearc() ignores thickness for full arcs)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('gd')) die('skip requires ext/gd');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$im = imagecreatetruecolor(100, 100);
|
|
imagesetthickness($im, 5);
|
|
imagearc($im, 50, 50, 90, 90, 0, 360, 0xffffff);
|
|
|
|
include_once __DIR__ . '/func.inc';
|
|
test_image_equals_file(__DIR__ . '/bug72604.png', $im);
|
|
?>
|
|
--EXPECT--
|
|
The images are equal.
|