original_string: public static function validEmail($email) {
  			// enforce maximum length to prevent libpcre recursion crash bug #52929 in PHP
  			// fixed in PHP 5.3.4; length restriction per SMTP RFC 2821
  		if (strlen($email) > 320) {
  			return FALSE;
  		}
  		require_once(PATH_typo3 . 'contrib/idna/idna_convert.class.php');
  		$IDN = new idna_convert(array('idn_version' => 2008));
  
  		return (filter_var($IDN->encode($email), FILTER_VALIDATE_EMAIL) !== FALSE);
  	}
code: public static function validEmail($email) {
  			// enforce maximum length to prevent libpcre recursion crash bug #52929 in PHP
  			// fixed in PHP 5.3.4; length restriction per SMTP RFC 2821
  		if (strlen($email) > 320) {
  			return FALSE;
  		}
  		require_once(PATH_typo3 . 'contrib/idna/idna_convert.class.php');
  		$IDN = new idna_convert(array('idn_version' => 2008));
  
  		return (filter_var($IDN->encode($email), FILTER_VALIDATE_EMAIL) !== FALSE);
  	}
code_tokens: public static function validEmail ( $ email ) { // enforce maximum length to prevent libpcre recursion crash bug #52929 in PHP // fixed in PHP 5.3.4; length restriction per SMTP RFC 2821 if ( strlen ( $ email ) > 320 ) { return FALSE ; } require_once ( PATH_typo3 . 'contrib/idna/idna_convert.class.php' ) ; $ IDN = new idna_convert ( array ( 'idn_version' => 2008 ) ) ; return ( filter_var ( $ IDN -> encode ( $ email ) , FILTER_VALIDATE_EMAIL ) !== FALSE ) ; }
docstring: Checking syntax of input email address
  
  @param string $email Input string to evaluate
  @return boolean Returns TRUE if the $email address (input string) is valid
docstring_tokens: Checking syntax of input email address