(PHP3 , PHP4 )
int imagefill (int im, int x, int y, int col)
int imagefill
ImageFill() performs a flood fill starting at coordinate x, y (top left is 0, 0) with color col in the image im.