lib/Phaker/Generator/Internet.php
public function safe_email($name = NULL)
	{
		$tlds = array('org', 'com', 'net');
		return implode('@', array($this->user_name($name), 'example.'.$tlds[array_rand($tlds)]));
	}
public function safe_email($name = NULL)
	{
		$tlds = array('org', 'com', 'net');
		return implode('@', array($this->user_name($name), 'example.'.$tlds[array_rand($tlds)]));
	}
public function safe_email ( $ name = NULL ) { $ tlds = array ( 'org' , 'com' , 'net' ) ; return implode ( '@' , array ( $ this -> user_name ( $ name ) , 'example.' . $ tlds [ array_rand ( $ tlds ) ] ) ) ; }
Generate a safe email address ending with example.tld, with a TLD of
org, com, or net only.

@param   string  $name  User name
@return  string
Generate a safe email address ending with example . tld with a TLD of org com or net only .