Hackerss.com is a community of amazing hackers

Hackerss is a community for developers, data scientitst, ethical hackers, hardware enthusiasts or any person that want to learn / share their knowledge of any aspect of digital technology.

Create account Log in

Posted on • Updated on

Php Check if a string is a valid email address

function isValidEmail($email) {
    return filter_var($email, FILTER_VALIDATE_EMAIL);
Enter fullscreen mode Exit fullscreen mode

Top comments (0)