3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(filter_var('bla@localhost', FILTER_VALIDATE_EMAIL)); var_dump(filter_var('root@localhost', FILTER_VALIDATE_EMAIL)); var_dump(filter_var('root@127.0.0.1', FILTER_VALIDATE_EMAIL));