3v4l.org

run code in 300+ PHP versions simultaneously
<?php // $maxpunti=$_POST['puntimax']; // $piudisei=$_POST['sufficienza']; $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= "maxpunti" * "piudisei"; ?> // da sistemare: <table> <tr> <th>First name</th> <th>Last name</th> </tr> <?php foreach($alto as $value) { <tr> <td><?php echo $alto ?></td> <td><?"6" + 1?></td> </tr> ; ?> </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/tBdcU on line 17
Process exited with code 255.

preferences:
179.84 ms | 1395 KiB | 63 Q