3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $regex = "(toto.com|tata.fr)"; $email = "toto@totox.com"; $domain = explode('@',$email)); $result = preg_match($regex,$domain); echo $result;
Output for 5.3.0 - 5.4.13
Parse error: syntax error, unexpected ')' in /in/6XePB on line 5
Process exited with code 255.