|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-05-19 19:29 UTC] requinix@php.net
-Status: Open
+Status: Feedback
-Type: Feature/Change Request
+Type: Bug
[2016-05-19 19:29 UTC] requinix@php.net
[2016-05-29 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 01:00:01 2025 UTC |
Description: ------------ Following testing on a local server with debian Jessie, Apache 2.4.10, PHP 5.6.20 version and GD Version] => 2.1.1-dev, and also with PHP 7.0.5 and Nginx 1.9, I get a bug with imagecreate(). Test script: --------------- Can you test the following script: <?php header("Content-Type: image/png"); $im = imagecreate(500,500); $bl = Imagecolorallocate($im, 0, 0, 0); $wh = Imagecolorallocate($im, 255, 255, 255); Imagearc($im,250,250,400,400,0,360,$wh); Imagepng($im); Imagedestroy($im); ?> Expected result: ---------------- The coordinates of a circle must display a circle and those of a square a square.