3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function asss(){ return 'KUR'; } function in_the_asss($kur){ if($kur == 'KUR'){ return true; }else{ return false; } } if($test = asss() && in_the_asss($test)){ echo 'IN THE ASSS :)'; }else{ echo 'NOT IN THE ASS :('; }
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: test in /in/3r92E on line 15 NOT IN THE ASS :(
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: test in /in/3r92E on line 15 NOT IN THE ASS :(