3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (preg_match('/^[A-Za-z0-9-_.+%]+@[A-Za-z0-9-.]+.[A-Za-z]{2,4}$/',aldanux%40gmail.com)) { echo "Email address accepted"; }
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'gmail' (T_STRING) in /in/8iuVa on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/8iuVa on line 2
Process exited with code 255.