3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch('hello') { case 'hello': print("Book Details<br />"); case 'h': 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 />