3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $whatisPI = 3.141592653589; $pineapple = "fruit"; if ($pineapple == "car") { echo("Shit's hit the fan.."); } else{ echo("Pineapples are still not vehicles, good, here's PI."); echo($whatisPI); }
Output for 4.3.0 - 7.1.0
Pineapples are still not vehicles, good, here's PI.3.141592653589