I have a small issue with my script.
I\'m getting Strict Standards: Only variables should be passed by reference in
if( $checkDNS && ($domain = e
Like the message says, end expects a variable because its parameter is a reference.
But since PHP 5.4 you can dereference arrays like that:
$domain = explode('@',$email, 2)[1];
Assuming that $email always contains @
. You should assure that beforehand, otherwise end(...) would give you unexpected results too.