--TEST--
Testing imagecolorallocatealpha()
--CREDITS--
Rafael Dohms <rdohms [at] gmail [dot] com>
--SKIPIF--
<?php 
    
if (!extension_loaded("gd")) die("skip GD not present");
?>
--FILE--
<?php
$img 
imagecreatetruecolor(150150);

$cor imagecolorallocate($img50100255);
$corA imagecolorallocatealpha($img5010025550);
//$whiteA = imagecolorallocatealpha($img, 255, 255, 255, 127);

$half =  imagefilledarc $img757570700180$corIMG_ARC_PIE );
$half2 =  imagefilledarc $img75757070180360$corAIMG_ARC_PIE );

ob_start();
imagepng($imgnull9);
$imgsrc ob_get_contents();
ob_end_clean();

var_dump(md5(base64_encode($imgsrc)));
var_dump($corA);
?>
--EXPECT--
string(32) "b856a0b1a15efe0f79551ebbb5651fe8"
int(842163455)