3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 7 == "007" ? "yes" : "no", "\n"; echo 8 == "008" ? "yes" : "no", "\n"; echo 9 == "009" ? "yes" : "no", "\n"; echo 10 == "010" ? "yes" : "no", "\n"; echo 8 == "010" ? "yes" : "no", "\n"; ?>
based on 0GntP
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
yes yes yes yes no