1--TEST--
2Testing passing negative start angle to imagearc() of GD library
3--CREDITS--
4Edgar Ferreira da Silva <contato [at] edgarfs [dot] com [dot] br>
5#testfest PHPSP on 2009-06-20
6--EXTENSIONS--
7gd
8--FILE--
9<?php
10
11$image = imagecreatetruecolor(100, 100);
12
13$white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF);
14
15//create an arc with white color
16imagearc($image, 50, 50, 30, 30, -90, 0, $white);
17
18include_once __DIR__ . '/func.inc';
19test_image_equals_file(__DIR__ . '/imagearc_variation2.png', $image);
20?>
21--EXPECT--
22The images are equal.
23