- trim: documentation ( source)
- strtolower: documentation ( source)
- md5: documentation ( source)
<?php
$email = trim( "MyEmailAddress@example.com " ); // "MyEmailAddress@example.com"
$email = strtolower( $email ); // "myemailaddress@example.com"
echo md5( $email );