Description:
------------
When using a transparency level above zero, drawing a rectangle will produce 4 dots in the corners. I think this is because the 4 lines of the rectangle are drawn and the corners will be overridden 2 times making the color on the corners darker than the rest.
Reproduce code:
---------------
<?php
$im = imagecreatetruecolor(100, 100);
$bg = imagecolorallocate($im, 250, 250, 250);
$blue = imagecolorallocatealpha($im, 150, 150, 255, 60);
imagefilledrectangle($im, 0, 0, 100, 100, $bg);
imagerectangle($im, 20, 20, 80, 80, $blue);
imagepng($im);
imagedestroy($im);
?>
Expected result:
----------------
And grayed backgrounded image 100x100 with a blue rectangle 60x60 in the middle.
Actual result:
--------------
Everything is ok except the corners of the rectangle are darker. In some complex examples like drawing gantt or bar charts that bug stands out even more.

This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.