3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface a { const AAA = 'txt'; } class A implements a { const AAA = 'texte'; }

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.00416.75
8.3.50.0110.00821.02
8.3.40.0120.00318.55
8.3.30.0110.00418.56
8.3.20.0040.00420.07
8.3.10.0070.00023.64
8.3.00.0050.00319.68
8.2.180.0120.00316.50
8.2.170.0140.00022.96
8.2.160.0070.01020.35
8.2.150.0080.00024.18
8.2.140.0130.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00417.75
8.2.110.0050.00519.38
8.2.100.0000.01117.50
8.2.90.0070.00019.23
8.2.80.0030.00517.97
8.2.70.0030.00617.63
8.2.60.0000.00817.91
8.2.50.0050.00918.07
8.2.40.0070.00019.38
8.2.30.0000.00819.89
8.2.20.0000.00717.58
8.2.10.0030.00517.96
8.2.00.0000.00818.04
8.1.280.0080.00625.92
8.1.270.0040.00420.38
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0030.00619.13
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00917.22
8.1.190.0040.00416.98
8.1.180.0000.00718.10
8.1.170.0030.00518.59
8.1.160.0000.00821.99
8.1.150.0000.00718.81
8.1.140.0050.00317.36
8.1.130.0000.00717.61
8.1.120.0030.00317.25
8.1.110.0040.00417.40
8.1.100.0000.00717.33
8.1.90.0040.00417.29
8.1.80.0030.00517.39
8.1.70.0000.00717.41
8.1.60.0000.00817.51
8.1.50.0030.00517.33
8.1.40.0040.00417.38
8.1.30.0000.00817.57
8.1.20.0040.00417.54
8.1.10.0080.00017.38
8.1.00.0000.00817.32
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.27
8.0.270.0000.00717.25
8.0.260.0000.00617.18
8.0.250.0080.00016.81
8.0.240.0000.00716.98
8.0.230.0000.00816.94
8.0.220.0050.00316.76
8.0.210.0040.00416.80
8.0.200.0030.00316.79
8.0.190.0040.00416.87
8.0.180.0070.00016.95
8.0.170.0040.00416.79
8.0.160.0000.00716.78
8.0.150.0040.00416.86
8.0.140.0000.00716.89
8.0.130.0000.00813.34
8.0.120.0020.00516.89
8.0.110.0040.00416.90
8.0.100.0000.00816.82
8.0.90.0000.00716.72
8.0.80.0090.00616.95
8.0.70.0000.00716.89
8.0.60.0070.00016.71
8.0.50.0040.00416.74
8.0.30.0060.01517.00
8.0.20.0080.01317.40
8.0.10.0080.00016.95
8.0.00.0090.01116.54
7.4.330.0000.00515.08
7.4.320.0000.00716.43
7.4.300.0000.00616.39
7.4.290.0060.00016.43
7.4.280.0050.00416.41
7.4.270.0040.00416.37
7.4.260.0040.00416.43
7.4.250.0030.00516.38
7.4.240.0040.00316.45
7.4.230.0030.00316.41
7.4.220.0090.00916.61
7.4.210.0130.00316.57
7.4.200.0070.00016.32
7.4.160.0040.01116.46
7.4.150.0110.00717.40
7.4.140.0130.00917.86
7.4.130.0070.01116.49
7.4.120.0090.01016.52
7.4.110.0150.00616.37
7.4.100.0130.01016.44
7.4.90.0140.00316.38
7.4.80.0040.01919.39
7.4.70.0090.00616.45
7.4.60.0060.00916.65
7.4.50.0000.00816.52
7.4.40.0150.00716.39
7.4.30.0080.01416.48
7.4.00.0060.00915.12
7.3.330.0000.00513.02
7.3.320.0000.00613.23
7.3.310.0070.00016.28
7.3.300.0060.00016.19
7.3.290.0200.00416.18
7.3.280.0090.00816.21
7.3.270.0140.00417.40
7.3.260.0150.00316.22
7.3.250.0080.00916.33
7.3.240.0100.00716.43
7.3.230.0110.00616.39
7.3.210.0060.00916.31
7.3.200.0100.00716.37
7.3.190.0040.01216.36
7.3.180.0080.01416.26
7.3.170.0100.00716.28
7.3.160.0060.01016.41
7.2.330.0170.00016.57
7.2.320.0150.00616.43
7.2.310.0060.00916.32
7.2.300.0070.01016.61
7.2.290.0130.01016.54
7.2.60.0090.00317.00
7.2.00.0030.00619.31
7.1.200.0110.00015.61
7.1.100.0030.01017.71
7.1.70.0030.01317.10
7.1.60.0130.01020.03
7.1.50.0090.01216.64
7.1.00.0070.07322.40
7.0.200.0040.00416.41
7.0.60.0130.03719.81
7.0.50.0130.08017.87
7.0.40.0070.08720.26
7.0.30.0200.04020.06
7.0.20.0270.05320.24
7.0.10.0030.04320.35
7.0.00.0070.05320.33
5.6.280.0030.04321.08
5.6.210.0130.05720.65
5.6.200.0170.07718.16
5.6.190.0070.08720.47
5.6.180.0400.06720.59
5.6.170.0230.07320.50
5.6.160.0070.08020.44
5.6.150.0170.05718.23
5.6.140.0070.08018.27
5.6.130.0000.07718.24
5.6.120.0070.05321.02
5.6.110.0100.04020.98
5.6.100.0130.03320.99
5.6.90.0100.07720.87
5.6.80.0070.08020.29
5.5.350.4370.03720.37
5.5.340.0030.08717.95
5.5.330.0070.03720.43
5.5.320.0370.07020.36
5.5.310.0400.07320.34
5.5.300.0070.04017.95
5.5.290.0100.08318.08
5.5.280.0070.07720.88
5.5.270.0030.04320.86
5.5.260.0030.08320.65
5.5.250.0000.08720.46
5.5.240.0000.07020.28
5.4.450.0530.05719.20
5.4.440.0470.06319.59
5.4.430.0630.06019.38
5.4.420.0500.06019.16
5.4.410.0730.07019.25
5.4.400.0670.05019.15
5.4.390.0700.05719.28
5.4.380.0600.05319.01
5.4.370.0700.05719.14
5.4.360.0770.06319.13
5.4.350.0730.05318.86
5.4.340.0630.06019.14
5.4.320.0630.05319.31
5.4.310.0530.05318.98
5.4.300.0470.05719.13
5.4.290.0730.06719.11
5.4.280.0730.05019.39
5.4.270.0600.05018.87
5.4.260.0670.04719.30
5.4.250.0530.05019.32
5.4.240.0600.05018.86
5.4.230.0500.05319.09
5.4.220.0570.05019.00
5.4.210.0400.06319.37
5.4.200.0530.05719.05
5.4.190.0670.05719.27
5.4.180.0570.04719.00
5.4.170.0500.05719.13
5.4.160.0770.05019.36
5.4.150.0600.06019.13
5.4.140.0570.05316.35
5.4.130.0730.04016.52
5.4.120.0530.05316.45
5.4.110.0670.04716.53
5.4.100.0630.04716.57
5.4.90.0770.04316.57
5.4.80.0600.06016.55
5.4.70.0100.05016.23
5.4.60.0170.07016.43
5.4.50.0270.03316.34
5.4.40.0330.03316.51
5.4.30.0070.03016.22
5.4.20.0170.04716.33
5.4.10.0170.03716.39

preferences:
70.93 ms | 401 KiB | 5 Q