3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 0; while($i<=10 ){ echo '<label for=""></label><select name="comp'. $i++ .'></select><br>'; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<label for=""></label><select name="comp0></select><br><label for=""></label><select name="comp1></select><br><label for=""></label><select name="comp2></select><br><label for=""></label><select name="comp3></select><br><label for=""></label><select name="comp4></select><br><label for=""></label><select name="comp5></select><br><label for=""></label><select name="comp6></select><br><label for=""></label><select name="comp7></select><br><label for=""></label><select name="comp8></select><br><label for=""></label><select name="comp9></select><br><label for=""></label><select name="comp10></select><br>