3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface inter { public function test($element, $params = null); } class cla implements inter { public function test($element) { } }

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.0150.00016.58
8.3.60.0080.01118.68
8.3.50.0110.00821.21
8.3.40.0070.00718.70
8.3.30.0120.00318.68
8.3.20.0080.00018.57
8.3.10.0030.00520.97
8.3.00.0050.00319.56
8.2.180.0130.00916.50
8.2.170.0140.00322.96
8.2.160.0100.00720.09
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.12
8.2.110.0060.00322.33
8.2.100.0040.00717.78
8.2.90.0040.00418.92
8.2.80.0070.00019.21
8.2.70.0040.00417.38
8.2.60.0060.00317.80
8.2.50.0090.00018.07
8.2.40.0000.00818.09
8.2.30.0040.00419.43
8.2.20.0050.00317.57
8.2.10.0000.00717.48
8.2.00.0030.00717.66
8.1.280.0140.00025.92
8.1.270.0040.00423.99
8.1.260.0130.00626.35
8.1.250.0050.00328.09
8.1.240.0030.00623.88
8.1.230.0070.00319.01
8.1.220.0000.00818.77
8.1.210.0000.00818.89
8.1.200.0120.00017.22
8.1.190.0040.00417.41
8.1.180.0030.00518.10
8.1.170.0000.00818.65
8.1.160.0000.00718.81
8.1.150.0040.00418.61
8.1.140.0040.00417.38
8.1.130.0030.00317.75
8.1.120.0070.00017.36
8.1.110.0060.00317.35
8.1.100.0040.00417.43
8.1.90.0000.00717.30
8.1.80.0050.00317.38
8.1.70.0000.00817.28
8.1.60.0080.00017.39
8.1.50.0090.00017.44
8.1.40.0000.00817.45
8.1.30.0000.00817.40
8.1.20.0080.00017.59
8.1.10.0070.00017.31
8.1.00.0000.00817.20
8.0.300.0030.00319.89
8.0.290.0000.00717.05
8.0.280.0030.00318.37
8.0.270.0040.00417.19
8.0.260.0030.00316.84
8.0.250.0000.00716.94
8.0.240.0000.00816.96
8.0.230.0030.00616.81
8.0.220.0000.00716.77
8.0.210.0000.00716.91
8.0.200.0030.00316.98
8.0.190.0040.00416.93
8.0.180.0000.00716.96
8.0.170.0030.00316.79
8.0.160.0050.00216.89
8.0.150.0040.00416.73
8.0.140.0040.00716.84
8.0.130.0000.00513.32
8.0.120.0030.00616.78
8.0.110.0040.00416.78
8.0.100.0000.00716.81
8.0.90.0070.00016.95
8.0.80.0030.01416.94
8.0.70.0000.00816.71
8.0.60.0030.00516.75
8.0.50.0040.00416.70
8.0.30.0120.00917.06
8.0.20.0070.01117.40
8.0.10.0080.00016.99
8.0.00.0120.00816.71
7.4.330.0030.00316.66
7.4.320.0000.00616.44
7.4.300.0060.00016.34
7.4.290.0070.00016.42
7.4.280.0030.00316.54
7.4.270.0030.00316.38
7.4.260.0000.00713.10
7.4.250.0050.00316.54
7.4.240.0030.00316.46
7.4.230.0030.00316.28
7.4.220.0120.00916.39
7.4.210.0080.00616.56
7.4.200.0040.00416.57
7.4.190.0000.00716.70
7.4.160.0060.01516.46
7.4.150.0030.02017.40
7.4.140.0100.00717.86
7.4.130.0120.00616.45
7.4.120.0140.00616.40
7.4.110.0120.01016.34
7.4.100.0070.01116.56
7.4.90.0150.00316.42
7.4.80.0100.01019.39
7.4.70.0120.00916.39
7.4.60.0030.01316.62
7.4.50.0030.00516.48
7.4.40.0110.00422.77
7.4.30.0120.00916.30
7.4.00.0100.00714.99
7.3.330.0000.00513.21
7.3.320.0000.00613.23
7.3.310.0040.00416.28
7.3.300.0070.00016.28
7.3.290.0000.01616.27
7.3.280.0090.00716.21
7.3.270.0030.01317.40
7.3.260.0080.00918.24
7.3.250.0080.01116.50
7.3.240.0170.00316.50
7.3.230.0110.00616.51
7.3.210.0060.01616.41
7.3.200.0060.00919.39
7.3.190.0100.01316.60
7.3.180.0030.01216.37
7.3.170.0040.01116.46
7.3.160.0130.00316.37
7.3.120.0090.00814.85
7.3.110.0110.00514.73
7.3.100.0030.01214.68
7.3.90.0070.00514.58
7.3.80.0040.01014.69
7.3.70.0090.00514.66
7.3.60.0050.01014.65
7.3.50.0050.00814.55
7.3.40.0050.00814.51
7.3.30.0080.00414.64
7.3.20.0050.00616.43
7.3.10.0070.00716.38
7.3.00.0070.00716.41
7.2.330.0130.01016.39
7.2.320.0120.00916.54
7.2.310.0060.01616.46
7.2.300.0060.01216.38
7.2.290.0030.01316.56
7.2.250.0030.01614.89
7.2.240.0060.01314.85
7.2.230.0050.00814.86
7.2.220.0100.00714.56
7.2.210.0080.00814.97
7.2.200.0080.00214.93
7.2.190.0080.00715.02
7.2.180.0060.00914.88
7.2.170.0110.00514.96
7.2.160.0040.01014.85
7.2.150.0000.01316.65
7.2.140.0070.00716.91
7.2.130.0100.00616.68
7.2.120.0050.00816.65
7.2.110.0110.00316.61
7.2.100.0040.01116.70
7.2.90.0070.00816.80
7.2.80.0030.01016.83
7.2.70.0060.00716.74
7.2.60.0100.00516.77
7.2.50.0090.00716.56
7.2.40.0060.00716.58
7.2.30.0050.00916.42
7.2.20.0060.00616.58
7.2.10.0060.00716.77
7.2.00.0060.00617.56
7.1.330.0070.00815.60
7.1.320.0030.01115.62
7.1.310.0040.01215.61
7.1.300.0050.00915.58
7.1.290.0070.00515.50
7.1.280.0040.01115.63
7.1.270.0080.00815.64
7.1.260.0090.00315.59
7.1.250.0050.01015.49
7.1.200.0000.00815.81
7.1.70.0090.00316.73
7.1.60.0000.01017.09
7.1.50.0080.00816.73
7.1.40.0000.01416.48
7.1.30.0000.01616.45
7.1.20.0060.00616.70
7.1.10.0120.00616.59
7.1.00.0000.00916.59
7.0.200.0060.00316.55
7.0.190.0000.00816.54
7.0.180.0040.00716.45
7.0.170.0000.00816.45
7.0.160.0100.00016.45
7.0.150.0080.00016.45
7.0.140.0120.00016.45
7.0.130.0030.00616.45
7.0.120.0000.01016.46
7.0.110.0000.00916.45
7.0.100.0050.00216.45
7.0.90.0000.00816.45
7.0.80.0040.00416.45
7.0.70.0000.00816.45
7.0.60.0060.00316.45
7.0.50.0070.00016.45
7.0.40.0030.00616.45
7.0.30.0040.00416.45
7.0.20.0000.00816.45
7.0.10.0070.00416.45
7.0.00.0040.00416.45
5.6.300.0070.05020.58
5.6.290.0000.04420.80
5.6.280.0070.04120.86
5.6.270.0030.05120.98
5.6.260.0230.04920.87
5.6.250.0000.04721.09
5.6.240.0070.03720.86
5.6.230.0040.04621.04
5.6.220.0030.04220.85
5.6.210.0000.08620.62
5.6.200.0030.04420.98
5.6.190.0030.04221.02
5.6.180.0070.04020.87
5.6.170.0000.04620.83
5.6.160.0070.04020.80
5.6.150.0000.04321.05
5.6.140.0060.05221.01
5.6.130.0000.04420.92
5.6.120.0140.03420.98
5.6.110.0030.04520.83
5.6.100.0030.04020.98
5.6.90.0030.04421.01
5.6.80.0000.04920.32
5.6.70.0100.03620.43
5.6.60.0040.04220.12
5.6.50.0030.05420.16
5.6.40.0030.04020.36
5.6.30.0030.03820.09
5.6.20.0070.03720.18
5.6.10.0030.03720.35
5.6.00.0100.03620.32
5.5.380.0070.07317.41
5.5.370.0030.05217.48
5.5.360.0070.04017.63
5.5.350.0000.05117.41
5.5.340.0030.04618.19
5.5.330.0030.05218.09
5.5.320.0000.04317.70
5.5.310.0000.04218.10
5.5.300.0040.04318.06
5.5.290.0070.03717.86
5.5.280.0130.03518.04
5.5.270.0030.04418.05
5.5.260.0000.04218.00
5.5.250.0000.04317.88
5.5.240.0070.04617.39
5.5.230.0100.04217.08
5.5.220.0030.06117.12
5.5.210.0070.06017.41
5.5.200.0000.04017.44
5.5.190.0060.07117.43
5.5.180.0000.04517.41
5.5.160.0070.03317.49
5.5.150.0030.04117.34
5.5.140.0000.04517.48
5.5.130.0000.04517.43
5.5.120.0000.04417.47
5.5.110.0060.03417.43
5.5.100.0030.03717.36
5.5.90.0060.03517.38
5.5.80.0100.03217.38
5.5.70.0030.04017.27
5.5.60.0030.03817.38
5.5.50.0040.03517.42
5.5.40.0030.04316.94
5.5.30.0070.03317.36
5.5.20.0030.04217.39
5.5.10.0060.03417.32
5.5.00.0030.04416.93
5.4.450.0090.03819.49
5.4.440.0270.05019.53
5.4.430.0090.03719.19
5.4.420.0030.04119.19
5.4.410.0000.04519.17
5.4.400.0030.03719.17
5.4.390.0030.04218.97
5.4.380.0070.07319.23
5.4.370.0000.04118.98
5.4.360.0070.03419.23
5.4.350.0030.04219.07
5.4.340.0030.04419.07
5.4.320.0000.04319.11
5.4.310.0130.03018.98
5.4.300.0030.04318.98
5.4.290.0000.04019.16
5.4.280.0000.04119.20
5.4.270.0040.03919.10
5.4.260.0090.03119.16
5.4.250.0030.03919.07
5.4.240.0030.03619.12
5.4.230.0060.04119.08
5.4.220.0000.04119.16
5.4.210.0030.03719.06
5.4.200.0030.03719.12
5.4.190.0030.03719.10
5.4.180.0030.04519.06
5.4.170.0190.02518.97
5.4.160.0000.04619.18
5.4.150.0060.06019.05
5.4.140.0040.03916.56
5.4.130.0070.03016.46
5.4.120.0070.06916.51
5.4.110.0030.03616.70
5.4.100.0070.03016.62
5.4.90.0000.04116.69
5.4.80.0040.03516.71
5.4.70.0000.03616.47
5.4.60.0030.03916.61
5.4.50.0000.04416.74
5.4.40.0060.03216.73
5.4.30.0030.03416.73
5.4.20.0000.03616.46
5.4.10.0000.03816.67
5.4.00.0100.06516.46
5.3.290.0030.04116.46
5.3.280.0030.03616.46
5.3.270.0000.05116.46
5.3.260.0030.03616.46
5.3.250.0030.05816.46
5.3.240.0040.03916.46
5.3.230.0030.05816.46
5.3.220.0030.06416.46
5.3.210.0070.03416.46
5.3.200.0030.03716.46
5.3.190.0030.06516.46
5.3.180.0000.04616.46
5.3.170.0030.05916.46
5.3.160.0060.03916.46
5.3.150.0060.03516.46
5.3.140.0060.03216.46
5.3.130.0030.03516.46
5.3.120.0040.03516.46
5.3.110.0030.04716.46
5.3.100.0030.05516.46
5.3.90.0040.04316.46
5.3.80.0070.07116.46
5.3.70.0040.03916.46
5.3.60.0000.04216.46
5.3.50.0000.04316.46
5.3.40.0000.03916.46
5.3.30.0000.04316.46
5.3.20.0100.05216.46
5.3.10.0000.03516.46
5.3.00.0030.04016.46
5.2.170.0030.03216.46
5.2.160.0070.02716.46
5.2.150.0100.02516.46
5.2.140.0070.02416.46
5.2.130.0090.03716.46
5.2.120.0000.03116.46
5.2.110.0000.03416.46
5.2.100.0000.03216.46
5.2.90.0000.03516.46
5.2.80.0030.03116.46
5.2.70.0000.03116.46
5.2.60.0000.03416.46
5.2.50.0060.02816.46
5.2.40.0000.03016.46
5.2.30.0000.03416.46
5.2.20.0060.02816.46
5.2.10.0030.03216.46
5.2.00.0030.02816.46
5.1.60.0000.03516.46
5.1.50.0070.02116.46
5.1.40.0070.02716.46
5.1.30.0000.02916.46
5.1.20.0030.04916.46
5.1.10.0030.04816.46
5.1.00.0030.02716.46
5.0.50.0000.02216.46
5.0.40.0030.02516.46
5.0.30.0040.03316.46
5.0.20.0040.01916.46
5.0.10.0000.02316.46
5.0.00.0030.03416.46
4.4.90.0000.01616.46
4.4.80.0000.02816.46
4.4.70.0000.02016.46
4.4.60.0050.01116.46
4.4.50.0000.01716.46
4.4.40.0000.02716.46
4.4.30.0030.03316.46
4.4.20.0030.01516.46
4.4.10.0000.01916.46
4.4.00.0030.02916.46
4.3.110.0030.01316.46
4.3.100.0030.03916.46
4.3.90.0040.01416.46
4.3.80.0030.02316.46
4.3.70.0030.01416.46
4.3.60.0070.01316.46
4.3.50.0000.01616.46
4.3.40.0000.02716.46
4.3.30.0000.01816.46
4.3.20.0000.01616.46
4.3.10.0070.02416.46
4.3.00.0000.01816.46

preferences:
42.37 ms | 401 KiB | 5 Q