3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo '<div><div class="select-wrapper"> <select name="adult"> <option value="none" />Adults <option value="0" />0 Adults <option value="1" />1 Adults <option value="2" />2 Adults <option value="3" />3 Adults <option value="4" />4 Adults <option value="5" />5 Adults <option value="5" />5+ Adults </select> </div> <div class="select-wrapper"> <select name="kids"> <option value="none" />Children <option value="0" />0 Children <option value="1" />1 Children <option value="2" />2 Children <option value="3" />3 Children <option value="4" />4 Children <option value="5" />5 Children <option value="5+" />5+ Children </select> </div></div>';
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<div><div class="select-wrapper"> <select name="adult"> <option value="none" />Adults <option value="0" />0 Adults <option value="1" />1 Adults <option value="2" />2 Adults <option value="3" />3 Adults <option value="4" />4 Adults <option value="5" />5 Adults <option value="5" />5+ Adults </select> </div> <div class="select-wrapper"> <select name="kids"> <option value="none" />Children <option value="0" />0 Children <option value="1" />1 Children <option value="2" />2 Children <option value="3" />3 Children <option value="4" />4 Children <option value="5" />5 Children <option value="5+" />5+ Children </select> </div></div>