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 as $voto ): ?> <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)
8.3.60.0140.00318.18
8.3.50.0090.00921.09
8.3.40.0150.00018.92
8.3.30.0070.00718.65
8.3.20.0000.00720.09
8.3.10.0040.00421.73
8.3.00.0080.00022.40
8.2.180.0090.01316.50
8.2.170.0060.01222.96
8.2.160.0070.00720.16
8.2.150.0050.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00721.18
8.2.110.0030.00720.45
8.2.100.0040.00817.84
8.2.90.0000.00819.13
8.2.80.0060.00317.97
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0050.00321.01
8.2.30.0080.00019.90
8.2.20.0040.00417.62
8.2.10.0000.00818.19
8.2.00.0080.00018.18
8.1.280.0040.01125.92
8.1.270.0030.01320.24
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0030.00623.95
8.1.230.0080.00322.62
8.1.220.0000.00817.78
8.1.210.0080.00018.77
8.1.200.0030.00617.36
8.1.190.0000.00817.22
8.1.180.0000.00718.10
8.1.170.0000.00818.50
8.1.160.0040.00421.95
8.1.150.0000.00818.73
8.1.140.0080.00017.29
8.1.130.0050.00217.43
8.1.120.0000.00817.48
8.1.110.0000.00717.42
8.1.100.0040.00417.37
8.1.90.0040.00417.28
8.1.80.0070.00317.45
8.1.70.0000.00717.35
8.1.60.0000.00817.40
8.1.50.0060.00317.57
8.1.40.0050.00317.55
8.1.30.0040.00417.54
8.1.20.0040.00317.69
8.1.10.0030.00617.56
8.1.00.0040.00417.55
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.50
8.0.270.0070.00017.11
8.0.260.0040.00416.76
8.0.250.0050.00316.89
8.0.240.0080.00016.91
8.0.230.0060.00016.90
8.0.220.0070.00016.79
8.0.210.0070.00016.80
8.0.200.0000.00616.92
8.0.190.0040.00416.87
8.0.180.0000.01016.92
8.0.170.0000.00816.85
8.0.160.0070.00016.99
8.0.150.0040.00416.93
8.0.140.0040.00416.90
8.0.130.0000.00513.34
8.0.120.0060.00316.92
8.0.110.0070.00016.93
8.0.100.0080.00016.89
8.0.90.0080.00016.79
8.0.80.0000.01616.85
8.0.70.0030.00516.75
8.0.60.0040.00416.74
8.0.50.0000.00716.88
8.0.30.0140.00517.02
8.0.20.0120.00617.40
8.0.10.0050.00316.81
8.0.00.0080.01416.79
7.4.330.0050.00015.08
7.4.320.0000.00616.51
7.4.300.0060.00016.50
7.4.290.0000.00916.51
7.4.280.0000.00716.59
7.4.270.0000.00716.58
7.4.260.0000.00816.38
7.4.250.0050.00216.46
7.4.240.0020.00516.59
7.4.230.0030.00316.57
7.4.220.0130.01016.61
7.4.210.0070.00916.64
7.4.200.0000.00716.67
7.4.160.0070.01116.37
7.4.150.0140.00317.40
7.4.140.0100.01317.86
7.4.130.0070.01416.50
7.4.120.0100.00816.47
7.4.110.0100.00716.76
7.4.100.0150.00716.44
7.4.90.0140.00416.53
7.4.80.0140.00819.39
7.4.70.0100.01016.65
7.4.60.0090.00916.46
7.4.50.0040.00016.37
7.4.40.0080.00816.37
7.4.30.0100.00916.51
7.4.00.0040.01214.85
7.3.330.0050.00013.20
7.3.320.0030.00313.25
7.3.310.0040.00416.28
7.3.300.0000.00716.19
7.3.290.0000.00716.37
7.3.280.0080.01016.39
7.3.270.0040.01317.40
7.3.260.0140.00316.47
7.3.250.0110.00716.29
7.3.240.0110.00816.35
7.3.230.0100.01416.39
7.3.210.0000.01716.34
7.3.200.0130.01019.39
7.3.190.0050.01016.30
7.3.180.0050.01016.46
7.3.170.0160.00616.39
7.3.160.0040.01216.30
7.2.330.0100.00716.49
7.2.320.0070.01716.77
7.2.310.0170.00616.43
7.2.300.0070.01316.76
7.2.290.0060.01516.38
7.2.60.0070.01016.78
7.2.00.0060.00619.52
7.1.200.0100.00515.51
7.1.100.0070.01018.23
7.1.70.0000.00916.97
7.1.60.0100.01320.03
7.1.50.0130.01016.66
7.1.00.0070.07322.33
7.0.200.0230.00714.97
7.0.60.0230.08021.89
7.0.50.0030.04017.79
7.0.40.0070.06720.12
7.0.30.0130.05020.21
7.0.20.0200.05720.18
7.0.10.0070.05720.20
7.0.00.0070.08320.30
5.6.280.0000.03320.91
5.6.210.0170.07020.50
5.6.200.0070.08018.21
5.6.190.0100.03720.39
5.6.180.0300.08020.67
5.6.170.0200.08320.55
5.6.160.0030.06320.49
5.6.150.0100.07718.20
5.6.140.0100.05318.15
5.6.130.0200.07018.14
5.6.120.0000.09020.96
5.6.110.0000.04320.91
5.6.100.0100.07320.98
5.6.90.0130.05021.09
5.6.80.0030.04720.53
5.5.350.0430.06020.42
5.5.340.0030.08717.96
5.5.330.0070.08320.40
5.5.320.0300.08020.50
5.5.310.0300.07020.41
5.5.300.0030.08318.01
5.5.290.0030.04017.99
5.5.280.0070.04020.77
5.5.270.0070.04020.64
5.5.260.0200.07020.84
5.5.250.0030.08720.59
5.5.240.0400.06020.27
5.4.450.3970.04019.49
5.4.440.0070.08319.29
5.4.430.0400.04019.19
5.4.420.0930.04019.36
5.4.410.3470.04019.16
5.4.400.2900.03318.91
5.4.390.3070.03319.20
5.4.380.3800.03719.06
5.4.370.3970.03719.16
5.4.360.4130.03319.07
5.4.350.4270.03319.04
5.4.340.3700.04019.07
5.4.320.3030.03719.07
5.4.310.3870.03318.87
5.4.300.3930.03318.92
5.4.290.4230.03318.96
5.4.280.4630.03718.87
5.4.270.4130.04019.26
5.4.260.4830.03018.96
5.4.250.4330.03319.06
5.4.240.4700.04319.05
5.4.230.4670.03319.25
5.4.220.4270.03319.08
5.4.210.3630.03019.09
5.4.200.4100.03719.16
5.4.190.4400.04019.11
5.4.180.3670.03019.19
5.4.170.4300.05719.11
5.4.160.3730.03019.15
5.4.150.0370.04319.18
5.4.140.0700.04316.38
5.4.130.4100.03316.31
5.4.120.4000.03716.34
5.4.110.4300.02716.39
5.4.100.4470.03016.32
5.4.90.3870.03716.13
5.4.80.4230.03316.48
5.4.70.4700.03016.37

preferences:
51.35 ms | 401 KiB | 5 Q