3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch(1) { case 1: print("Book Details<br>"); case 2: print("Book Author<br>"); default: print("Missing Book<br>"); } ?>
Output for 4.3.0 - 7.1.0
Book Details<br>Book Author<br>Missing Book<br>