3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<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>
Output for hhvm-3.10.0

Process exited with code 153.