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 $value): ?> <tr> <td><?php echo $alto ?></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.0110.00418.43
8.3.50.0110.00921.24
8.3.40.0120.00318.92
8.3.30.0060.00918.68
8.3.20.0080.00020.29
8.3.10.0040.00421.60
8.3.00.0040.00422.32
8.2.180.0210.00016.50
8.2.170.0110.00722.96
8.2.160.0100.01020.43
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00317.63
8.2.110.0070.00320.36
8.2.100.0040.00817.91
8.2.90.0080.00017.75
8.2.80.0060.00317.97
8.2.70.0000.00818.04
8.2.60.0000.00818.03
8.2.50.0000.00718.10
8.2.40.0040.00420.42
8.2.30.0030.00519.72
8.2.20.0030.00517.81
8.2.10.0000.00718.16
8.2.00.0040.00418.18
8.1.280.0100.00525.92
8.1.270.0050.00320.43
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0100.00023.82
8.1.230.0030.00720.87
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0070.00317.35
8.1.190.0060.00617.25
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0050.00321.82
8.1.150.0040.00418.74
8.1.140.0050.00317.39
8.1.130.0000.00717.57
8.1.120.0040.00417.40
8.1.110.0040.00417.36
8.1.100.0020.00517.35
8.1.90.0050.00317.46
8.1.80.0030.00517.40
8.1.70.0070.00017.39
8.1.60.0060.00317.52
8.1.50.0000.00817.53
8.1.40.0000.00817.56
8.1.30.0080.00017.69
8.1.20.0050.00217.54
8.1.10.0040.00417.50
8.1.00.0030.00617.52
8.0.300.0040.00419.79
8.0.290.0000.00816.75
8.0.280.0030.00418.51
8.0.270.0030.00317.36
8.0.260.0000.00617.19
8.0.250.0070.00017.03
8.0.240.0040.00416.88
8.0.230.0040.00416.79
8.0.220.0030.00316.94
8.0.210.0040.00416.91
8.0.200.0050.00216.96
8.0.190.0040.00416.89
8.0.180.0030.00816.94
8.0.170.0070.00016.91
8.0.160.0000.00816.86
8.0.150.0000.00816.87
8.0.140.0040.00416.74
8.0.130.0060.00013.35
8.0.120.0000.00816.75
8.0.110.0000.00716.86
8.0.100.0000.00816.91
8.0.90.0040.00416.80
8.0.80.0060.00916.85
8.0.70.0040.00416.82
8.0.60.0040.00416.75
8.0.50.0040.00416.86
8.0.30.0120.00816.95
8.0.20.0120.00717.40
8.0.10.0000.00816.84
8.0.00.0090.01116.66
7.4.330.0000.00515.08
7.4.320.0000.00616.60
7.4.300.0030.00316.42
7.4.290.0080.00416.46
7.4.280.0050.00316.40
7.4.270.0070.00016.59
7.4.260.0000.00716.62
7.4.250.0000.00816.52
7.4.240.0050.00216.51
7.4.230.0000.00816.51
7.4.220.0100.00616.55
7.4.210.0060.01516.61
7.4.200.0030.00616.40
7.4.160.0070.01016.29
7.4.150.0130.00517.40
7.4.140.0140.00717.86
7.4.130.0100.01216.50
7.4.120.0150.00316.48
7.4.110.0100.00716.54
7.4.100.0120.00616.44
7.4.90.0100.01016.56
7.4.80.0100.01019.39
7.4.70.0100.00816.36
7.4.60.0100.00616.27
7.4.50.0030.00516.71
7.4.40.0080.01116.45
7.4.30.0090.00916.58
7.4.00.0080.00914.93
7.3.330.0000.00613.06
7.3.320.0000.00513.23
7.3.310.0000.00716.19
7.3.300.0040.00416.17
7.3.290.0090.00916.30
7.3.280.0100.00916.35
7.3.270.0110.00717.40
7.3.260.0060.01216.32
7.3.250.0060.01216.47
7.3.240.0100.01316.57
7.3.230.0150.00616.39
7.3.210.0040.01216.66
7.3.200.0140.00319.39
7.3.190.0060.00916.39
7.3.180.0030.01316.45
7.3.170.0100.01016.41
7.3.160.0060.01016.35
7.3.120.0100.00714.90
7.3.110.0100.01015.06
7.3.100.0100.00615.01
7.3.90.0030.01414.68
7.3.80.0060.00914.97
7.3.70.0000.01415.02
7.3.60.0070.01014.69
7.3.50.0090.00414.92
7.3.40.0060.00614.86
7.3.30.0100.00314.86
7.3.20.0120.00316.82
7.3.10.0030.01116.36
7.3.00.0070.00516.38
7.2.330.0080.01216.38
7.2.320.0120.01216.69
7.2.310.0070.01016.63
7.2.300.0130.00316.72
7.2.290.0120.01216.36
7.2.250.0070.01314.96
7.2.240.0040.01815.09
7.2.230.0110.00415.06
7.2.220.0000.01014.90
7.2.210.0030.00814.70
7.2.200.0000.01015.05
7.2.190.0130.00715.02
7.2.180.0130.00714.84
7.2.170.0060.01015.16
7.2.130.0200.00316.33
7.2.120.0120.00616.57
7.2.110.0090.00616.77
7.2.100.0100.00516.70
7.2.90.0100.00716.82
7.2.80.0120.00616.73
7.2.70.0090.00616.47
7.2.60.0020.01116.68
7.2.50.0040.01116.54
7.2.40.0070.00716.91
7.2.30.0040.01116.70
7.2.20.0030.00916.80
7.2.10.0080.00416.81
7.2.00.0020.01018.05
7.1.330.0110.00415.68
7.1.320.0060.00615.65
7.1.310.0130.00315.67
7.1.300.0060.00915.55
7.1.290.0030.01215.85
7.1.280.0030.01315.79
7.1.270.0070.01015.65
7.1.260.0080.00415.82
7.1.250.0040.00815.78
7.1.200.0040.00715.68
7.1.100.0060.00618.02
7.1.70.0000.00817.11
7.1.60.0090.01320.03
7.1.50.0130.00716.84
7.1.00.0030.07322.44
7.0.200.0350.00314.97
7.0.60.0130.07019.93
7.0.50.0070.07317.78
7.0.40.0100.07320.07
7.0.30.0300.07720.02
7.0.20.0270.04320.18
7.0.10.0330.06720.13
7.0.00.0100.07320.04
5.6.280.0070.06720.86
5.6.210.0100.06720.53
5.6.200.0000.08318.12
5.6.190.0130.03320.32
5.6.180.0300.07320.45
5.6.170.0270.06320.44
5.6.160.0030.04020.47
5.6.150.0030.04318.12
5.6.140.0130.06318.20
5.6.130.0130.05318.21
5.6.120.0000.09021.00
5.6.110.0300.07021.10
5.6.100.0070.08721.13
5.6.90.0100.08320.96
5.6.80.0100.07720.36
5.6.70.4300.03720.52
5.5.350.0030.08020.35
5.5.340.0100.04017.98
5.5.330.0030.05020.19
5.5.320.0370.05320.21
5.5.310.0300.06320.26
5.5.300.0070.08717.91
5.5.290.0100.04317.97
5.5.280.0100.08320.65
5.5.270.0030.06020.89
5.5.260.0030.05720.74
5.5.250.0170.08020.61
5.5.240.0030.06020.25
5.4.450.0900.05719.10
5.4.440.0930.05019.32
5.4.430.0870.04719.28
5.4.420.0870.05019.12
5.4.410.0800.05718.94
5.4.400.0930.04319.23
5.4.390.0730.05718.99
5.4.380.0770.05719.16
5.4.370.0870.04719.24
5.4.360.0700.07018.80
5.4.350.0800.06019.00
5.4.340.0700.06318.80
5.4.320.0900.05018.74
5.4.310.0800.05719.16
5.4.300.0800.05318.99
5.4.290.0900.04718.98
5.4.280.0870.05318.77
5.4.270.0870.05318.98
5.4.260.0830.05318.74
5.4.250.0770.05718.96
5.4.240.0870.05019.20
5.4.230.0800.05318.79
5.4.220.0930.05018.94
5.4.210.0930.04319.18
5.4.200.0770.06316.72
5.4.190.0970.05019.26
5.4.180.0870.05019.07
5.4.170.0830.06019.16
5.4.160.0800.05719.00
5.4.150.0770.06019.04
5.4.140.0800.06016.36
5.4.130.0730.06316.25
5.4.120.0930.07316.43
5.4.110.0870.04716.43
5.4.100.1030.06016.16
5.4.90.0830.05716.32
5.4.80.0770.05716.33
5.4.70.0800.05316.14
5.4.60.0070.05016.41
5.4.50.0030.07016.39
5.4.40.0000.06316.36
5.4.30.0130.03316.38
5.4.20.0270.03716.43

preferences:
49.05 ms | 401 KiB | 5 Q