3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 42; if($var === "42"){ print 'yes!'; } else{ print 'no!' } ?>
Output for 5.3.0 - 5.4.21
Parse error: syntax error, unexpected '}' in /in/hMCFK on line 8
Process exited with code 255.