... canvas.if ($animage = imagecreate (50 0, 50 0)){//Now, let's allocate the background color and line color.$white = imagecolorallocate ($animage, 255 , 255 , 255 );$black = imagecolorallocate ... create a blank canvas.if ($animage = imagecreate (50 0, 50 0)){//Now, let's allocate the background color and line color.$white = imagecolorallocate ($animage, 255 , 255 , 255 );$black = imagecolorallocate ... .]?(\d{4})$/";$values = array("80 055 51234", // (800) 55 5-1234"800 .55 5.1234", // (800) 55 5-1234"800 -55 5-1234", // (800) 55 5-1234"800 .55 5.1234", // (800) 55 5-1234"800...