3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a[1]="enes"; $a[2]="hasan"; $a[3]="ekrem"; $a[4]="oğuzhan"; $a[5]="hakkıcan"; echo '<table border="1">'; for($i=1;$i<=5;$i++) { echo '<tr>'; echo '<td>'; echo $i; echo '</td>'; echo '<td>'; echo $a[$i]; echo '</td>'; echo '</tr>'; } ?>
based on dl3aZ
Output for 4.3.0 - 7.1.7
<table border="1"><tr><td>1</td><td>enes</td></tr><tr><td>2</td><td>hasan</td></tr><tr><td>3</td><td>ekrem</td></tr><tr><td>4</td><td>oğuzhan</td></tr><tr><td>5</td><td>hakkıcan</td></tr>