3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if($id == "first-slide") { echo '<div class="container"></div>';} else if($id == "slide-1") { echo '<div class="wrapper"></div>';} ?>
Output for 5.5.0 - 7.1.0
Notice: Undefined variable: id in /in/dL0U7 on line 1 Notice: Undefined variable: id in /in/dL0U7 on line 2
Output for 4.3.0 - 5.4.45