3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_POST['email'] = "foobar@blah.com"; if(empty($_POST['email']) && !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) { echo "OOPS"; }
Output for 4.3.0 - 7.2.0