3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php If (100>55) EchO "my php Program 1" ; Else echo "my php program 2" ; // second program lets step it up a notch ; $var1 = 100 ; $var2 = 50 ; $total = ($var1 + $var2) ; if ($total > 95) Echo "kendi coding like a n00b" ; else echo "kendi coding like a novice" ; ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
my php Program 1kendi coding like a n00b