3v4l.org

run code in 300+ PHP versions simultaneously
<?php $approved = 0; if ($approved == "gfsdgsfdgsdf") { echo "huh?"; }
Output for 8.0.0beta1
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.21, 7.4.0 - 7.4.9, 8.0.0alpha1 - alpha3
huh?