3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $elm = 'a,b,c'; $elm2 = 'd,e,f'; $explode1 = explode(',', $elm); $explode2 = explode(',', $elm2); echo "<table>"; for($i=0; $i<sizeof($explode1); $i++) { echo "<tr>"; echo "<td>".$explode1[$i]."</td>"; echo "<td>".$explode2[$i]."</td>"; echo "</tr>"; } echo "</table>";
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<table><tr><td>a</td><td>d</td></tr><tr><td>b</td><td>e</td></tr><tr><td>c</td><td>f</td></tr></table>
Output for hhvm-3.10.0

Process exited with code 153.