3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 'aa'==0 ? 'true' : 'false'; echo "1aa"==1 ? 'true' : 'false'; switch (0) { case 'aaa' : echo 'true'; break; } switch ('aaa') { case 0 : echo 'true'; break; } ?>
based on NmVAV
Output for 4.3.0 - 7.1.0
truetruetruetrue