3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
Alan Johnson · July 12, 2014 Yes, example: <?php $alto = array("10","9.5","9","8.5","8","7.5","7","6.5",); $basso= array("5.5","5","4.5","4","3.5","3","2.5","2","1.5","1",); $sei= "puntimax" * "sufficienza"; ?> <table> <tr> <th>voto</th> <th>Last name</th> </tr> <?php foreach($alto as $value): ?> <td><?php echo $value ?></td> <?php endforeach; ?> </table>
based on IPP0v
Output for 7.1.0 - 7.2.0
Alan Johnson · July 12, 2014 Yes, example: Warning: A non-numeric value encountered in /in/E32rf on line 8 Warning: A non-numeric value encountered in /in/E32rf on line 8 <table> <tr> <th>voto</th> <th>Last name</th> </tr> <td>10</td> <td>9.5</td> <td>9</td> <td>8.5</td> <td>8</td> <td>7.5</td> <td>7</td> <td>6.5</td> </table>
Output for 5.3.17 - 7.0.20
Alan Johnson · July 12, 2014 Yes, example: <table> <tr> <th>voto</th> <th>Last name</th> </tr> <td>10</td> <td>9.5</td> <td>9</td> <td>8.5</td> <td>8</td> <td>7.5</td> <td>7</td> <td>6.5</td> </table>