--TEST-- Test rectangle --SKIPIF-- --FILE-- read("magick:rose"); $gd->rectangle(20,20,30,30); $gm->drawImage($gd); $gm->write($filename); unlink($filename); echo "ok"; ?> --EXPECT-- ok