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>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.6.130.0100.07318.09
5.6.120.0070.08020.96
5.6.110.0130.07720.89
5.6.100.0200.06720.97
5.6.90.0070.03721.03
5.6.80.0070.08020.36
5.5.290.0070.06717.98
5.5.280.0070.03720.64
5.5.270.0170.07320.86
5.5.260.0100.06720.94
5.5.250.0030.07720.62
5.5.240.0000.07720.24
5.4.450.1000.05319.35
5.4.440.0770.06719.38
5.4.430.0830.05319.49
5.4.420.0870.05719.62
5.4.410.0870.06319.00
5.4.400.0970.05318.84
5.4.390.0800.06018.86
5.4.380.0870.07019.02
5.4.370.0870.05718.81
5.4.360.0930.05319.18
5.4.350.0830.05319.21
5.4.340.0800.06019.02
5.4.320.0930.04319.06
5.4.310.1200.05319.18
5.4.300.0770.06319.30
5.4.290.0870.05319.00
5.4.280.0930.06019.01
5.4.270.0830.06018.88
5.4.260.0770.06019.17
5.4.250.0700.05318.85
5.4.240.0730.05319.20
5.4.230.0800.04719.17
5.4.220.0700.05719.05
5.4.210.0830.05319.33
5.4.200.0830.06016.71
5.4.190.1270.06019.07
5.4.180.1030.04018.81
5.4.170.0730.05719.17
5.4.160.0830.04319.09
5.4.150.0770.05319.00
5.4.140.0570.06016.42
5.4.130.1030.05016.67
5.4.120.0830.05716.30
5.4.110.0830.05316.34
5.4.100.0870.05316.48
5.4.90.0870.05316.31
5.4.80.0770.05716.32
5.4.70.0800.05316.41
5.4.60.0230.06016.54
5.4.50.0030.07316.42
5.4.40.0300.05316.38
5.4.30.0030.03016.34
5.4.20.0270.03316.51
5.4.10.0270.07016.52

preferences:
139.03 ms | 1394 KiB | 7 Q