3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $regexp = '/^[A-Za-z]+((\.|\_){1}[a-zA-Z0-9]+)*@([a-zA-Z0-9]+([\-]{1}[a-zA-Z0-9]+)*[\.]{1})+[a-zA-Z]{2,4}$/'; preg_match($regexp, 'id.email001@gmail.com')
Output for 5.4.0 - 5.4.10
Parse error: syntax error, unexpected end of file in /in/V8Km5 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.20
Parse error: syntax error, unexpected $end in /in/V8Km5 on line 5
Process exited with code 255.