3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $email = 'name@example.com'; if(strstr($email, '@123')){ echo "hi" }else{ echo "no" } echo $domain; // prints @example.com ?>
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/dhMP9 on line 5
Process exited with code 255.