File size: 282 Bytes
1e94262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | --TEST--
Bug #39508 (imagefill crashes with small images 3 pixels or less)
--EXTENSIONS--
gd
--FILE--
<?php
$im = imagecreatetruecolor(3,1);
$bgcolor = imagecolorallocatealpha($im,255, 255, 0, 0);
imagefill($im,0,0,$bgcolor);
print_r(imagecolorat($im, 1,0));
?>
--EXPECT--
16776960
|