3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $email = 'adam+@example.com'; $checked = filter_var($email, FILTER_VALIDATE_EMAIL); var_dump($email, $checked);
based on UgBPI
Output for 5.4.0 - 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.2.9
string(17) "adam+@example.com" string(17) "adam+@example.com"