3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<div id="#first-slide"></div> <?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
<div id="#first-slide"></div> Notice: Undefined variable: id in /in/ptC0k on line 3 Notice: Undefined variable: id in /in/ptC0k on line 4
Output for 4.3.0 - 5.4.45
<div id="#first-slide"></div>