--TEST--
Bug #42434 (ImageLine w/ antialias = 1px shorter)
--SKIPIF--
<?php
if (!extension_loaded('gd')) {
    die(
'skip gd extension not available');
}
if (!
GD_BUNDLED) die("skip requires bundled GD library\n");
?>
--FILE--
<?php
$im 
imagecreatetruecolor(102);
imagefilledrectangle($im001020xFFFFFF);

imageantialias($imtrue);
imageline($im001000x000000);

if (
imagecolorat($im90) == 0x000000) {
    echo 
'DONE';
} else {
    echo 
'Bugged';
}

imagedestroy($im);
?>
--EXPECTF--
DONE