3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'address@example'; $checked = filter_var($email, FILTER_VALIDATE_EMAIL); var_dump($email, $checked);

preferences:
47.58 ms | 408 KiB | 5 Q