3v4l.org

run code in 300+ PHP versions simultaneously
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 =<"6" ): ?> <tr> <td><?php echo $voto ?></td> <td>"uno"</td> </tr> <?php endforeach; ?> </table>
Output for 5.4.1 - 5.4.45, 5.5.24 - 5.5.29, 5.6.8 - 5.6.13
Parse error: syntax error, unexpected '<' in /in/BtTuO on line 16
Process exited with code 255.

preferences:
178.41 ms | 1395 KiB | 63 Q