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): ?> <td><?php echo $value ?></td> <?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.0070.01118.66
8.3.50.0120.00621.01
8.3.40.0000.01418.71
8.3.30.0040.01118.85
8.3.20.0070.00020.21
8.3.10.0040.00421.95
8.3.00.0050.00322.46
8.2.180.0080.00818.29
8.2.170.0140.00422.96
8.2.160.0070.01320.34
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00417.63
8.2.110.0030.00620.39
8.2.100.0090.00317.63
8.2.90.0080.00019.21
8.2.80.0040.00417.97
8.2.70.0080.00017.75
8.2.60.0050.00318.04
8.2.50.0040.00418.07
8.2.40.0060.00321.04
8.2.30.0000.00819.72
8.2.20.0050.00317.73
8.2.10.0040.00418.12
8.2.00.0070.00018.02
8.1.280.0150.00025.92
8.1.270.0030.00620.30
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0110.01123.98
8.1.230.0080.00417.47
8.1.220.0060.00317.77
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.00
8.1.180.0050.00318.10
8.1.170.0000.00818.51
8.1.160.0000.00721.95
8.1.150.0040.00418.84
8.1.140.0040.00417.29
8.1.130.0000.00717.55
8.1.120.0000.00717.46
8.1.110.0040.00417.27
8.1.100.0000.00817.36
8.1.90.0000.00717.29
8.1.80.0070.00017.37
8.1.70.0030.00317.41
8.1.60.0060.00317.52
8.1.50.0000.00817.56
8.1.40.0000.00817.39
8.1.30.0080.00017.64
8.1.20.0000.00717.55
8.1.10.0020.00517.59
8.1.00.0040.00417.36
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0040.00418.34
8.0.270.0040.00417.22
8.0.260.0000.00617.16
8.0.250.0050.00316.95
8.0.240.0050.00317.06
8.0.230.0000.00716.86
8.0.220.0040.00416.82
8.0.210.0000.00716.93
8.0.200.0000.00716.98
8.0.190.0000.00816.92
8.0.180.0060.00316.97
8.0.170.0050.00316.94
8.0.160.0000.00816.85
8.0.150.0000.00716.85
8.0.140.0030.00516.75
8.0.130.0000.00613.27
8.0.120.0040.00416.74
8.0.110.0020.00516.82
8.0.100.0040.00416.98
8.0.90.0000.00816.86
8.0.80.0040.01116.84
8.0.70.0020.00516.97
8.0.60.0070.00016.84
8.0.50.0000.00716.69
8.0.30.0120.00716.83
8.0.20.0090.00917.40
8.0.10.0000.00717.03
8.0.00.0140.00816.82
7.4.330.0000.00515.08
7.4.320.0000.00616.49
7.4.300.0030.00316.60
7.4.290.0070.00316.60
7.4.280.0040.00416.54
7.4.270.0030.00316.57
7.4.260.0000.00716.50
7.4.250.0050.00316.32
7.4.240.0030.00416.51
7.4.230.0020.00516.39
7.4.220.0090.00616.68
7.4.210.0090.00616.63
7.4.200.0050.00316.32
7.4.160.0090.00616.30
7.4.150.0100.00717.40
7.4.140.0160.00817.86
7.4.130.0110.00816.57
7.4.120.0090.00816.51
7.4.110.0080.00816.61
7.4.100.0070.01116.51
7.4.90.0070.01016.33
7.4.80.0160.00019.39
7.4.70.0100.01416.50
7.4.60.0070.00716.46
7.4.50.0030.00516.63
7.4.40.0110.00916.70
7.4.30.0030.01416.63
7.4.00.0050.01114.92
7.3.330.0020.00213.08
7.3.320.0000.00513.24
7.3.310.0070.00016.40
7.3.300.0030.00316.34
7.3.290.0090.00916.28
7.3.280.0090.00916.35
7.3.270.0120.00617.40
7.3.260.0030.01516.33
7.3.250.0100.01316.28
7.3.240.0090.00916.36
7.3.230.0140.00916.41
7.3.210.0100.00716.33
7.3.200.0070.01019.39
7.3.190.0100.00716.55
7.3.180.0140.00316.36
7.3.170.0080.00816.61
7.3.160.0090.00916.45
7.3.120.0050.01214.87
7.3.110.0100.00514.82
7.3.100.0030.01015.00
7.3.90.0060.00814.88
7.3.80.0070.00714.87
7.3.70.0080.00414.79
7.3.60.0060.00614.92
7.3.50.0100.00414.70
7.3.40.0080.00314.79
7.3.30.0070.00614.85
7.3.20.0050.00716.71
7.3.10.0080.00616.87
7.3.00.0030.00816.66
7.2.330.0060.01616.51
7.2.320.0160.00816.61
7.2.310.0140.00416.50
7.2.300.0090.00816.41
7.2.290.0100.01316.33
7.2.250.0070.00915.06
7.2.240.0070.01515.04
7.2.230.0060.00914.80
7.2.220.0080.00715.19
7.2.210.0030.01114.73
7.2.200.0080.00814.98
7.2.190.0020.01414.81
7.2.180.0050.00915.02
7.2.170.0020.01215.11
7.2.60.0120.00416.91
7.2.00.0030.01319.21
7.1.330.0080.00815.84
7.1.320.0070.01015.61
7.1.310.0070.00615.84
7.1.300.0080.00815.63
7.1.290.0020.01015.66
7.1.280.0060.00615.77
7.1.270.0030.01215.89
7.1.260.0080.00715.94
7.1.200.0080.00615.51
7.1.100.0030.01018.19
7.1.70.0040.00717.10
7.1.60.0140.01020.03
7.1.50.0000.01117.01
7.1.00.0030.07722.36
7.0.200.0230.00614.97
7.0.60.0100.07719.93
7.0.50.0030.05317.86
7.0.40.0030.04319.96
7.0.30.0330.06020.04
7.0.20.0130.04320.01
7.0.10.0100.03720.20
7.0.00.0100.04020.09
5.6.210.0100.07320.53
5.6.200.0030.08318.19
5.6.190.0130.07720.67
5.6.180.0170.06320.61
5.6.170.0200.06720.54
5.6.160.0100.06320.48
5.6.150.0030.04018.21
5.6.140.0100.07718.11
5.6.130.0100.08318.17
5.6.120.0030.04320.89
5.6.110.0030.04020.97
5.6.100.0070.07721.11
5.6.90.0070.08320.96
5.6.80.0030.03720.34
5.5.350.0070.08020.49
5.5.340.0100.04317.88
5.5.330.0100.07020.21
5.5.320.0470.06020.29
5.5.310.0230.08020.33
5.5.300.0030.08317.98
5.5.290.0100.08017.89
5.5.280.0070.05020.68
5.5.270.0070.04020.64
5.5.260.0030.05020.88
5.5.250.0100.03320.61
5.5.240.0170.04720.16
5.4.450.0930.05319.32
5.4.440.0900.05719.07
5.4.430.0800.06319.50
5.4.420.0800.05719.09
5.4.410.0930.04319.40
5.4.400.1170.07018.75
5.4.390.0970.08018.77
5.4.380.1100.04319.23
5.4.370.0700.06018.74
5.4.360.0600.05718.80
5.4.350.0730.05019.16
5.4.340.0030.06319.20
5.4.320.0030.06718.96
5.4.310.0500.05318.94
5.4.300.0630.05319.01
5.4.290.0130.06018.77
5.4.280.0230.04319.18
5.4.270.0530.05319.16
5.4.260.0770.06719.18
5.4.250.0430.05718.98
5.4.240.0070.05319.17
5.4.230.0170.05019.19
5.4.220.0800.05718.94
5.4.210.0870.03319.07
5.4.200.0700.05016.93
5.4.190.0630.06719.02
5.4.180.0730.05319.05
5.4.170.0770.05318.93
5.4.160.0930.05019.00
5.4.150.0800.05719.01
5.4.140.0700.06016.42
5.4.130.0730.05016.32
5.4.120.0700.05016.32
5.4.110.0700.04716.38
5.4.100.0870.06316.17
5.4.90.1100.06016.36
5.4.80.1000.05016.39
5.4.70.0700.06016.42
5.4.60.0070.06016.47
5.4.50.0030.07016.31
5.4.40.0200.07316.19
5.4.30.0230.07716.28
5.4.20.0270.04316.45

preferences:
49.79 ms | 401 KiB | 5 Q