3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo PHP_OS; switch (PHP_OS) { case "WINNT": echo 'Selecting Windows'; break; case "Linux": echo 'Selecting Linux'; break; default: echo 'Selecting Default'; break; }
Output for 4.3.0 - 7.1.0
LinuxSelecting Linux