3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $auto[0] = array('36','HOLLAND'); $auto[1] = array('15','Aanvalluhhh!!!'); print_r($auto[0][0]); if ( isset( $auto ) ) { echo '<table>'; foreach ( $auto[0] as $diam ) { // here you have access to $diam['top'] and $diam['bottom'] echo '<tr>'; echo ' <td>', $diam[0], '</td>'; echo ' <td>', $diam[1], '</td>'; echo '</tr>'; } echo '</table>'; } ?>
Output for 4.3.0 - 7.1.0
36<table><tr> <td>3</td> <td>6</td></tr><tr> <td>H</td> <td>O</td></tr></table>