3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $format = 'js'; if ('js' === $format) { echo 'js'; }
Output for 4.3.0 - 7.1.0
js