3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface base { public function so(); } class test implements base{ public function so(){} }

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.27
8.3.50.0110.00721.09
8.3.40.0120.00318.60
8.3.30.0070.01018.88
8.3.20.0040.00420.16
8.3.10.0050.00322.10
8.3.00.0040.00422.37
8.2.180.0100.01016.63
8.2.170.0070.01022.96
8.2.160.0070.00719.21
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0110.00318.65
8.2.110.0030.00722.24
8.2.100.0120.00019.45
8.2.90.0040.00419.05
8.2.80.0000.00918.04
8.2.70.0000.00817.50
8.2.60.0000.00817.91
8.2.50.0000.00818.07
8.2.40.0090.00019.70
8.2.30.0050.00217.98
8.2.20.0040.00417.46
8.2.10.0050.00217.68
8.2.00.0000.00817.47
8.1.280.0100.01025.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00023.76
8.1.230.0100.00019.16
8.1.220.0030.00517.77
8.1.210.0030.00518.77
8.1.200.0030.00616.88
8.1.190.0040.00417.40
8.1.180.0040.00418.61
8.1.170.0040.00418.66
8.1.160.0000.00822.07
8.1.150.0060.00318.61
8.1.140.0070.00017.38
8.1.130.0030.00317.72
8.1.120.0030.00317.39
8.1.110.0070.00017.43
8.1.100.0070.00017.30
8.1.90.0000.00817.30
8.1.80.0000.00717.35
8.1.70.0000.00717.20
8.1.60.0000.00917.54
8.1.50.0040.00417.40
8.1.40.0030.00517.44
8.1.30.0000.00717.47
8.1.20.0040.00417.61
8.1.10.0040.00417.30
8.1.00.0040.00417.33
8.0.300.0070.00018.77
8.0.290.0000.00817.03
8.0.280.0040.00418.37
8.0.270.0000.00717.10
8.0.260.0000.00616.66
8.0.250.0070.00016.79
8.0.240.0050.00316.78
8.0.230.0030.00316.89
8.0.220.0000.00616.86
8.0.210.0080.00016.83
8.0.200.0000.00616.88
8.0.190.0060.00316.79
8.0.180.0040.00416.80
8.0.170.0070.00016.74
8.0.160.0080.00016.72
8.0.150.0030.00416.70
8.0.140.0050.00316.77
8.0.130.0000.00513.13
8.0.120.0040.00416.70
8.0.110.0000.00816.79
8.0.100.0080.00016.73
8.0.90.0030.00516.85
8.0.80.0070.01016.80
8.0.70.0080.00016.78
8.0.60.0050.00216.60
8.0.50.0040.00416.68
8.0.30.0110.00916.79
8.0.20.0120.00617.40
8.0.10.0000.00717.01
8.0.00.0110.00716.82
7.4.330.0000.00515.00
7.4.320.0000.00716.53
7.4.300.0000.00616.51
7.4.290.0030.00316.53
7.4.280.0050.00316.51
7.4.270.0040.00416.51
7.4.260.0050.00316.46
7.4.250.0000.00816.46
7.4.240.0000.00716.40
7.4.230.0030.00316.27
7.4.220.0030.01616.60
7.4.210.0070.00716.47
7.4.200.0000.00716.50
7.4.190.0060.00016.62
7.4.160.0030.01716.41
7.4.150.0140.00317.40
7.4.140.0120.00617.86
7.4.130.0130.00616.39
7.4.120.0060.01116.38
7.4.110.0110.00716.50
7.4.100.0150.00316.32
7.4.90.0030.01416.51
7.4.80.0070.01019.39
7.4.70.0060.01016.31
7.4.60.0130.00316.21
7.4.50.0000.00816.19
7.4.40.0140.00422.77
7.4.30.0080.00816.50
7.4.00.0080.00914.94
7.3.330.0020.00212.99
7.3.320.0050.00013.17
7.3.310.0030.00315.93
7.3.300.0070.00016.18
7.3.290.0030.01216.17
7.3.280.0120.00616.17
7.3.270.0080.00917.40
7.3.260.0090.01216.43
7.3.250.0040.01916.36
7.3.240.0110.00616.47
7.3.230.0140.00416.39
7.3.210.0120.01216.36
7.3.200.0100.01019.39
7.3.190.0090.01216.17
7.3.180.0040.01116.17
7.3.170.0090.00616.27
7.3.160.0090.00916.48
7.3.120.0090.00614.88
7.3.110.0100.00314.65
7.3.100.0060.01314.57
7.3.90.0060.01214.39
7.3.80.0140.00414.81
7.3.70.0030.01314.49
7.3.60.0040.01114.75
7.3.50.0060.01014.77
7.3.40.0100.00714.59
7.3.30.0110.00414.85
7.3.20.0030.00916.46
7.3.10.0050.00516.68
7.3.00.0110.00316.56
7.2.330.0100.00716.29
7.2.320.0110.01116.54
7.2.310.0000.02016.56
7.2.300.0060.00916.59
7.2.290.0030.01216.23
7.2.250.0070.01114.70
7.2.240.0100.00714.96
7.2.230.0130.00715.00
7.2.220.0040.01414.98
7.2.210.0040.01514.80
7.2.200.0070.00714.88
7.2.190.0060.01014.79
7.2.180.0000.01214.90
7.2.170.0090.00614.93
7.2.60.0040.01116.29
7.2.00.0040.01119.34
7.1.330.0090.00315.74
7.1.320.0030.01015.76
7.1.310.0060.00915.61
7.1.300.0000.00815.50
7.1.290.0070.00415.47
7.1.280.0030.00615.66
7.1.270.0000.01515.62
7.1.260.0030.00915.70
7.1.200.0100.00315.50
7.1.100.0080.00317.87
7.1.70.0060.00617.02
7.1.60.0160.01019.82
7.1.50.0130.01016.95
7.1.00.0000.07722.54
7.0.200.0040.00416.75
7.0.140.0030.07022.01
7.0.60.0070.07719.92
7.0.50.0070.04317.87
7.0.40.0070.05320.11
7.0.30.0300.07320.13
7.0.20.0300.08020.33
7.0.10.0030.04320.23
7.0.00.0170.07720.09
5.6.280.0030.07020.86
5.6.210.0030.06020.67
5.6.200.0000.04718.26
5.6.190.0070.08320.45
5.6.180.0270.07720.77
5.6.170.0230.07320.51
5.6.160.0030.05020.47
5.6.150.0070.07318.21
5.6.140.0070.08318.16
5.6.130.0070.04018.17
5.6.120.0070.05321.02
5.6.110.0100.08321.11
5.6.100.0100.04720.99
5.6.90.0100.08020.88
5.6.80.0070.06720.41
5.5.350.3900.04020.36
5.5.340.0130.07317.98
5.5.330.0000.05720.40
5.5.320.0530.07020.36
5.5.310.0300.07720.29
5.5.300.0000.04718.05
5.5.290.0070.03718.04
5.5.280.0100.08020.98
5.5.270.0030.04020.77
5.5.260.0170.07320.96
5.5.250.0100.05720.66
5.5.240.0270.05720.19
5.4.450.0200.07719.55
5.4.440.0170.06019.66
5.4.430.0130.03719.58
5.4.420.0100.04019.41
5.4.410.0200.03319.39
5.4.400.0130.08019.32
5.4.390.0170.04319.20
5.4.380.0070.04319.17
5.4.370.0030.08719.20
5.4.360.0170.05719.17
5.4.350.0100.04019.20
5.4.340.0070.04019.31
5.4.320.0170.07319.17
5.4.310.0200.07019.31
5.4.300.0100.04018.95
5.4.290.0170.04719.10
5.4.280.0100.04318.99
5.4.270.0270.07019.16
5.4.260.0200.03718.97
5.4.250.0200.04319.12
5.4.240.0130.04019.21
5.4.230.0100.04718.83
5.4.220.0170.05018.94
5.4.210.0230.06719.20
5.4.200.0300.03319.18
5.4.190.0170.04718.86
5.4.180.0100.07319.16
5.4.170.0230.06319.20
5.4.160.0100.04319.21
5.4.150.0200.08018.96
5.4.140.0230.05016.33
5.4.130.0200.06316.41
5.4.120.0170.05016.34
5.4.110.0070.04716.56
5.4.100.0170.07316.35
5.4.90.0130.05716.35
5.4.80.0130.04716.54
5.4.70.0170.07316.54
5.4.60.0130.07316.17
5.4.50.0130.03316.54
5.4.40.0170.06016.17
5.4.30.0100.04716.22
5.4.20.0130.03716.55
5.4.10.0170.05716.32
5.4.00.0200.03315.75
5.3.290.0100.06014.67
5.3.280.0100.07014.50
5.3.270.0100.07314.75
5.3.260.0100.07714.61
5.3.250.0130.04714.68
5.3.240.0170.04014.53
5.3.230.0130.04314.52
5.3.220.0170.03314.49
5.3.210.0130.06714.79
5.3.200.0100.04714.79
5.3.190.0130.05314.57
5.3.180.0100.03714.53
5.3.170.0100.08014.53
5.3.160.0070.04314.48
5.3.150.0100.03714.47
5.3.140.0070.08014.47
5.3.130.0100.05714.53
5.3.120.0130.04314.63
5.3.110.0100.04014.62
5.3.100.0130.04014.02
5.3.90.0170.07314.09
5.3.80.0130.06014.25
5.3.70.0170.07013.93
5.3.60.0130.06013.92
5.3.50.0170.04013.85
5.3.40.0200.07013.95
5.3.30.0100.03714.13
5.3.20.0100.05013.70
5.3.10.0170.04313.71
5.3.00.0170.06713.65
5.2.170.0100.03712.91
5.2.160.0030.05712.91
5.2.150.0100.03712.91
5.2.140.0100.04712.91
5.2.130.0100.04712.91
5.2.120.0100.06012.91
5.2.110.0100.05012.91
5.2.100.0070.03312.91
5.2.90.0100.02712.91
5.2.80.0000.03712.91
5.2.70.0030.03712.91
5.2.60.0170.05312.91
5.2.50.0070.03012.91
5.2.40.0130.02312.91
5.2.30.0070.05012.91
5.2.20.0070.04312.91
5.2.10.0130.05312.91
5.2.00.0000.04312.91
5.1.60.0070.02712.91
5.1.50.0100.05012.91
5.1.40.0070.03712.91
5.1.30.0030.03012.91
5.1.20.0000.05312.91
5.1.10.0000.04312.91
5.1.00.0070.03312.91
5.0.50.0000.02312.91
5.0.40.0030.04012.91
5.0.30.0000.05312.91
5.0.20.0030.04312.91
5.0.10.0000.03712.91
5.0.00.0000.05312.91
4.4.90.0030.02012.91
4.4.80.0030.03712.91
4.4.70.0000.01712.91
4.4.60.0030.03012.91
4.4.50.0000.01712.91
4.4.40.0000.02312.91
4.4.30.0000.01712.91
4.4.20.0000.02312.91
4.4.10.0030.01312.91
4.4.00.0100.05012.91
4.3.110.0030.02012.91
4.3.100.0030.01712.91
4.3.90.0030.02012.91
4.3.80.0000.03712.91
4.3.70.0000.03312.91
4.3.60.0030.03712.91
4.3.50.0000.02012.91
4.3.40.0000.05712.91
4.3.30.0000.03012.91
4.3.20.0070.03312.91
4.3.10.0000.03312.91
4.3.00.0030.02712.91

preferences:
44.99 ms | 401 KiB | 5 Q