Simple Email Validation with PHP

$emails = array(
				'name@domain.com',
				'n@d.com',
				'name',
				'name@gmail',
				'name@gmial.com',
				);

foreach ($emails as $email)
{
	echo $email." is ";
	echo (validate_email($email)) ? "GOOD" : "BAD";
	echo "<br />";
}

function validate_email($email){
	return eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email);
}