3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { const FOO = 1; }

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.70.0140.00716.63
8.3.60.0110.00416.50
8.3.50.0120.00822.04
8.3.40.0070.01018.33
8.3.30.0140.00018.55
8.3.20.0080.00620.39
8.3.10.0040.00420.41
8.3.00.0040.00418.89
8.2.180.0070.00716.32
8.2.170.0100.00722.96
8.2.160.0140.00420.27
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00319.11
8.2.120.0070.00026.35
8.2.110.0030.00620.96
8.2.100.0040.00817.80
8.2.90.0050.00319.10
8.2.80.0030.00517.97
8.2.70.0050.00317.62
8.2.60.0000.00917.80
8.2.50.0100.00018.09
8.2.40.0020.00520.43
8.2.30.0000.00719.35
8.2.20.0000.00817.61
8.2.10.0000.00717.93
8.2.00.0000.00717.91
8.1.280.0090.00625.92
8.1.270.0050.00523.92
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0000.00823.92
8.1.230.0060.00617.45
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0000.00818.55
8.1.160.0040.00422.61
8.1.150.0040.00418.79
8.1.140.0080.00019.44
8.1.130.0000.00717.57
8.1.120.0030.00317.39
8.1.110.0020.00517.21
8.1.100.0040.00417.30
8.1.90.0040.00417.36
8.1.80.0050.00217.32
8.1.70.0000.00717.29
8.1.60.0030.00517.36
8.1.50.0000.00817.46
8.1.40.0040.00417.37
8.1.30.0000.00817.50
8.1.20.0050.00217.48
8.1.10.0070.00017.35
8.1.00.0000.00817.24
8.0.300.0040.00418.77
8.0.290.0080.00016.58
8.0.280.0030.00318.36
8.0.270.0000.00817.17
8.0.260.0030.00617.07
8.0.250.0070.00016.80
8.0.240.0000.00716.71
8.0.230.0000.00816.84
8.0.220.0000.00716.77
8.0.210.0000.00716.69
8.0.200.0030.00316.81
8.0.190.0030.00316.75
8.0.180.0030.00616.67
8.0.170.0070.00016.73
8.0.160.0070.00016.64
8.0.150.0080.00416.73
8.0.140.0070.00016.70
8.0.130.0030.00313.22
8.0.120.0000.01016.72
8.0.110.0040.00416.64
8.0.100.0000.00716.55
8.0.90.0050.00216.64
8.0.80.0110.00416.78
8.0.70.0000.00716.87
8.0.60.0000.00816.71
8.0.50.0040.00416.75
8.0.30.0090.00716.82
8.0.20.0170.00317.40
8.0.10.0000.00716.89
8.0.00.0090.01016.53
7.4.330.0000.00616.83
7.4.320.0030.00316.47
7.4.300.0030.00316.37
7.4.290.0080.00016.29
7.4.280.0080.00016.48
7.4.270.0040.00416.46
7.4.260.0040.00416.39
7.4.250.0050.00316.30
7.4.240.0030.00316.47
7.4.230.0040.00416.55
7.4.220.0180.00616.51
7.4.210.0030.01316.37
7.4.200.0030.00316.47
7.4.160.0030.01216.27
7.4.150.0060.01217.40
7.4.140.0100.00817.86
7.4.130.0130.00416.47
7.4.120.0130.00716.47
7.4.110.0080.00816.32
7.4.100.0090.00916.44
7.4.90.0040.01216.28
7.4.80.0120.01219.39
7.4.70.0090.01216.32
7.4.60.0100.01016.33
7.4.50.0060.00616.21
7.4.40.0060.01316.39
7.4.30.0060.01016.34
7.4.00.0000.01214.92
7.3.330.0090.00013.16
7.3.320.0030.00513.13
7.3.310.0000.00716.20
7.3.300.0000.00716.18
7.3.290.0000.00716.13
7.3.280.0100.00816.20
7.3.270.0140.00417.40
7.3.260.0140.00316.27
7.3.250.0110.00616.25
7.3.240.0100.00716.29
7.3.230.0130.00316.39
7.3.210.0070.01016.39
7.3.200.0050.01116.16
7.3.190.0180.00316.18
7.3.180.0060.00916.32
7.3.170.0060.01616.34
7.3.160.0130.00416.20
7.2.330.0090.01016.43
7.2.320.0130.01016.35
7.2.310.0100.00716.24
7.2.300.0140.00316.48
7.2.290.0090.00916.56
7.2.00.0000.01319.24
7.1.200.0300.00314.77
7.1.100.0040.01117.89
7.1.70.0000.01317.03
7.1.60.0140.01119.27
7.1.00.0100.07022.40
7.0.200.0040.00416.71
7.0.60.0300.07019.89
7.0.50.0100.08017.93
7.0.40.0030.05720.13
7.0.30.0170.04320.25
7.0.20.0130.04320.26
7.0.10.0030.09020.16
7.0.00.0070.08720.23
5.6.280.0100.06721.04
5.6.210.0070.08020.62
5.6.200.0030.04318.18
5.6.190.0070.07320.52
5.6.180.0230.07720.39
5.6.170.0170.03720.55
5.6.160.0030.04320.50
5.6.150.0030.08318.27
5.6.140.0070.08318.22
5.6.130.0030.08718.18
5.6.120.0030.08720.89
5.6.110.0170.07321.07
5.6.100.0130.08321.12
5.6.90.0230.06721.07
5.6.80.0070.07320.36
5.5.350.0370.05020.43
5.5.340.0070.06718.05
5.5.330.0100.03320.25
5.5.320.0300.06320.24
5.5.310.0170.08720.27
5.5.300.0100.08017.98
5.5.290.0130.08017.97
5.5.280.0100.08020.73
5.5.270.0100.07720.66
5.5.260.0170.07320.81
5.5.250.0100.05320.60
5.5.240.0100.04320.26

preferences:
34.04 ms | 401 KiB | 5 Q