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($elm); $i++) { echo "<tr>"; echo "<td>".$explode1[$i]."</td>"; echo "<td>".$explode2[$i]."</td>"; echo "</tr>"; } echo "</table>";
Output for 4.3.0 - 7.1.0
<table><tr><td>a</td><td>d</td></tr></table>