3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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) { echo "$value <br>"; } ?> </table>
based on tBdcU
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/CTZeY on line 6 Warning: A non-numeric value encountered in /in/CTZeY on line 6 // da sistemare: <table> <tr> <th>First name</th> <th>Last name</th> </tr> 10 <br>9.5 <br>9 <br>8.5 <br>8 <br>7.5 <br>7 <br>6.5 <br></table>
Output for 5.3.17 - 7.0.20
// da sistemare: <table> <tr> <th>First name</th> <th>Last name</th> </tr> 10 <br>9.5 <br>9 <br>8.5 <br>8 <br>7.5 <br>7 <br>6.5 <br></table>