3v4l.org

run code in 200+ 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.0.4 - 7.2.0
no Notice: Undefined variable: domain in /in/Jl0Vq on line 8
Output for 4.3.0 - 5.0.3
no Notice: Undefined variable: domain in /in/Jl0Vq on line 8