3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $emailToTest = 'hello@there'; echo (filter_var($emailToTest, FILTER_VALIDATE_EMAIL) ? 'Yes' : 'No';
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected ';' in /in/Ehl62 on line 4
Process exited with code 255.