📅  最后修改于: 2022-03-11 14:53:52.925000             🧑  作者: Mango
$email = 'myemail@example.com';
$exists = email_exists( $email );
if ( $exists ) {
echo "That E-mail is registered to user number " . $exists;
} else {
echo "That E-mail doesn't belong to any registered users on this site";
}