3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface inter { public function test($element, $params = []); } 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.60.0120.00618.52
8.3.50.0080.00921.02
8.3.40.0140.00018.53
8.3.30.0090.00618.57
8.3.20.0080.00018.57
8.3.10.0090.00020.81
8.3.00.0050.00319.33
8.2.180.0190.00316.63
8.2.170.0040.01422.96
8.2.160.0140.00320.52
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0030.00526.16
8.2.120.0040.00421.03
8.2.110.0030.00719.27
8.2.100.0060.00617.63
8.2.90.0080.00018.92
8.2.80.0030.00617.97
8.2.70.0090.00017.50
8.2.60.0000.00717.80
8.2.50.0000.00818.10
8.2.40.0000.00717.97
8.2.30.0040.00419.30
8.2.20.0040.00417.62
8.2.10.0040.00417.49
8.2.00.0040.00717.60
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0100.00019.09
8.1.230.0110.00017.70
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0000.01018.59
8.1.160.0040.00418.70
8.1.150.0070.00018.49
8.1.140.0070.00017.34
8.1.130.0030.00317.63
8.1.120.0030.00317.39
8.1.110.0040.00417.45
8.1.100.0060.00317.30
8.1.90.0000.00717.24
8.1.80.0000.00717.29
8.1.70.0030.00317.34
8.1.60.0080.00017.50
8.1.50.0050.00317.45
8.1.40.0040.00417.40
8.1.30.0030.00617.46
8.1.20.0050.00317.57
8.1.10.0000.00817.44
8.1.00.0020.00517.33
8.0.300.0070.00018.77
8.0.290.0080.00016.63
8.0.280.0070.00018.30
8.0.270.0070.00017.11
8.0.260.0070.00016.75
8.0.250.0040.00416.95
8.0.240.0040.00416.90
8.0.230.0000.00716.93
8.0.220.0000.00716.85
8.0.210.0000.00816.78
8.0.200.0070.00016.90
8.0.190.0000.00716.96
8.0.180.0040.00416.96
8.0.170.0000.00716.78
8.0.160.0070.00016.91
8.0.150.0000.00716.90
8.0.140.0070.00316.88
8.0.130.0000.00613.30
8.0.120.0030.00616.87
8.0.110.0050.00216.75
8.0.100.0080.00016.87
8.0.90.0070.00016.86
8.0.80.0180.00316.84
8.0.70.0030.00516.85
8.0.60.0040.00416.86
8.0.50.0000.00716.76
8.0.30.0060.01616.96
8.0.20.0080.01517.40
8.0.10.0000.00716.89
8.0.00.0090.01516.63
7.4.330.0050.00016.83
7.4.320.0030.00316.36
7.4.300.0000.00716.55
7.4.290.0030.00516.54
7.4.280.0000.00716.53
7.4.270.0030.00316.41
7.4.260.0030.00313.25
7.4.250.0040.00416.42
7.4.240.0050.00216.54
7.4.230.0030.00316.51
7.4.220.0100.01016.54
7.4.210.0090.00716.46
7.4.200.0000.00716.44
7.4.190.0030.00316.24
7.4.160.0060.00916.46
7.4.150.0070.01717.40
7.4.140.0060.01117.86
7.4.130.0080.01016.44
7.4.120.0070.01416.40
7.4.110.0090.01316.41
7.4.100.0030.01416.43
7.4.90.0140.00716.36
7.4.80.0110.00619.39
7.4.70.0070.01116.45
7.4.60.0060.00916.50
7.4.50.0080.00016.55
7.4.40.0060.00622.77
7.4.30.0140.00316.49
7.4.00.0110.00815.06
7.3.330.0000.00513.09
7.3.320.0000.00613.18
7.3.310.0030.00316.29
7.3.300.0070.00016.29
7.3.290.0130.00716.15
7.3.280.0120.00416.20
7.3.270.0030.01317.40
7.3.260.0090.01018.24
7.3.250.0100.00616.48
7.3.240.0200.00016.49
7.3.230.0070.01016.39
7.3.210.0040.01416.29
7.3.200.0080.00819.39
7.3.190.0160.00616.25
7.3.180.0090.00616.39
7.3.170.0060.01016.35
7.3.160.0030.01316.23
7.3.120.0100.00714.75
7.3.110.0120.00614.59
7.3.100.0140.00014.75
7.3.90.0090.00614.85
7.3.80.0080.00414.81
7.3.70.0030.00914.69
7.3.60.0030.01214.64
7.3.50.0130.00314.87
7.3.40.0060.00914.80
7.3.30.0000.01414.79
7.3.20.0000.00916.38
7.3.10.0070.00516.46
7.3.00.0050.01216.63
7.2.330.0100.00616.48
7.2.320.0110.00616.56
7.2.310.0090.01216.50
7.2.300.0060.01616.43
7.2.290.0080.00816.42
7.2.250.0030.01514.99
7.2.240.0040.01114.73
7.2.230.0030.01315.06
7.2.220.0040.00714.76
7.2.210.0030.01314.74
7.2.200.0030.01215.02
7.2.190.0060.00915.09
7.2.180.0060.00914.88
7.2.170.0090.00614.71
7.2.130.0030.01316.69
7.2.120.0050.01316.65
7.2.110.0130.00316.74
7.2.100.0150.01116.81
7.2.90.0090.00617.04
7.2.80.0090.00316.73
7.2.70.0040.01116.61
7.2.60.0060.00816.59
7.2.50.0090.00616.73
7.2.40.0090.00316.49
7.2.30.0070.00716.67
7.2.20.0030.00816.79
7.2.10.0100.00316.57
7.2.00.0070.00517.93
7.1.330.0060.00615.38
7.1.320.0100.00015.70
7.1.310.0030.00915.71
7.1.300.0060.00915.65
7.1.290.0000.01015.66
7.1.280.0070.00715.63
7.1.270.0030.00615.65
7.1.260.0070.00715.66
7.1.250.0100.00315.62
7.1.200.0050.00515.76
7.1.100.0000.01418.11
7.1.70.0050.00517.06
7.1.60.0040.00717.19
7.1.50.0070.00716.84
7.1.40.0070.01616.29
7.1.30.0040.00816.66
7.1.20.0070.01416.79
7.1.10.0060.00316.64
7.1.00.0040.00416.70
7.0.200.0000.00816.72
7.0.190.0040.01116.68
7.0.180.0000.00815.99
7.0.170.0000.01316.13
7.0.160.0030.00915.99
7.0.150.0030.01016.20
7.0.140.0030.01016.17
7.0.130.0040.00716.23
7.0.120.0000.01716.67
7.0.110.0000.00716.30
7.0.100.0030.00616.27
7.0.90.0030.01016.21
7.0.80.0000.00716.23
7.0.70.0000.00716.14
7.0.60.0040.00415.93
7.0.50.0050.00316.25
7.0.40.0080.00015.84
7.0.30.0060.00615.84
7.0.20.0000.00715.84
7.0.10.0040.00415.84
7.0.00.0030.01315.84
5.6.300.0070.04720.82
5.6.290.0000.05820.95
5.6.280.0100.06621.04
5.6.270.0070.05021.09
5.6.260.0000.04520.95
5.6.250.0100.03820.86
5.6.240.0000.04720.96
5.6.230.0000.05820.84
5.6.220.0000.05920.92
5.6.210.0060.03621.01
5.6.200.0000.05220.84
5.6.190.0130.03220.84
5.6.180.0070.05721.04
5.6.170.0000.04720.70
5.6.160.0060.07120.74
5.6.150.0030.04420.80
5.6.140.0100.05620.95
5.6.130.0100.06720.99
5.6.120.0090.03820.86
5.6.110.0000.04520.99
5.6.100.0030.04920.82
5.6.90.0100.05620.97
5.6.80.0000.05020.19
5.6.70.0070.03620.23
5.6.60.0030.04420.09
5.6.50.0000.04320.12
5.6.40.0100.04320.19
5.6.30.0000.04520.20
5.6.20.0000.04220.20
5.6.10.0000.04120.35
5.6.00.0070.03720.27
5.5.380.0030.07517.44
5.5.370.0030.04217.67
5.5.360.0060.05117.54
5.5.350.0030.05817.47
5.5.340.0060.04818.02
5.5.330.0060.04118.18
5.5.320.0030.04418.09
5.5.310.0070.08217.83
5.5.300.0030.05617.73
5.5.290.0060.04118.10
5.5.280.0000.04517.70
5.5.270.0030.05617.70
5.5.260.0030.08218.12
5.5.250.0030.04217.55
5.5.240.0070.03717.41
5.5.230.0060.03817.06
5.5.220.0000.04117.43
5.5.210.0000.04017.48
5.5.200.0100.05217.48
5.5.190.0030.08317.12
5.5.180.0100.03617.05
5.5.160.0030.03917.39
5.5.150.0030.06117.41
5.5.140.0070.03717.41
5.5.130.0030.08317.21
5.5.120.0000.04117.41
5.5.110.0030.04317.11
5.5.100.0070.07416.96
5.5.90.0030.05016.95
5.5.80.0000.05216.99
5.5.70.0000.04717.25
5.5.60.0000.04017.33
5.5.50.0070.03717.27
5.5.40.0070.03317.32
5.5.30.0030.03917.10
5.5.20.0000.05017.07
5.5.10.0000.04317.33
5.5.00.0070.03917.07
5.4.450.0030.04519.47
5.4.440.0030.04019.28
5.4.430.0070.04719.29
5.4.420.0030.08619.40
5.4.410.0030.03819.34
5.4.400.0030.03718.95
5.4.390.0200.03719.23
5.4.380.0100.03018.89
5.4.370.0030.03618.92
5.4.360.0100.07619.06
5.4.350.0030.05019.20
5.4.340.0030.04119.11
5.4.320.0070.03719.04
5.4.310.0100.07118.98
5.4.300.0030.06818.98
5.4.290.0070.05719.20
5.4.280.0090.03119.06
5.4.270.0070.06919.07
5.4.260.0000.04719.26
5.4.250.0110.03219.13
5.4.240.0030.03719.12
5.4.230.0030.03819.10
5.4.220.0000.04119.05
5.4.210.0070.03319.14
5.4.200.0030.04219.09
5.4.190.0030.03719.07
5.4.180.0000.04318.93
5.4.170.0000.05219.22
5.4.160.0060.03819.05
5.4.150.0030.03819.06
5.4.140.0070.04616.68
5.4.130.0030.04916.77
5.4.120.0060.03616.69
5.4.110.0000.03816.64
5.4.100.0070.05316.78
5.4.90.0030.03716.51
5.4.80.0030.03516.70
5.4.70.0000.04316.74
5.4.60.0030.03416.68
5.4.50.0030.03516.46
5.4.40.0030.05816.65
5.4.30.0030.03616.76
5.4.20.0030.03816.72
5.4.10.0070.04216.67
5.4.00.0000.04016.21
5.3.290.0000.04215.84
5.3.280.0000.03915.84
5.3.270.0000.04015.84
5.3.260.0030.03815.84
5.3.250.0030.07715.84
5.3.240.0070.03415.84
5.3.230.0160.03915.84
5.3.220.0070.03615.84
5.3.210.0060.03215.84
5.3.200.0070.03315.84
5.3.190.0000.05515.84
5.3.180.0030.05515.84
5.3.170.0000.05215.84
5.3.160.0030.03715.84
5.3.150.0100.03015.84
5.3.140.0070.07315.84
5.3.130.0030.04615.84
5.3.120.0030.04115.84
5.3.110.0030.03915.84
5.3.100.0100.03015.84
5.3.90.0030.03415.84
5.3.80.0000.03915.84
5.3.70.0070.06315.84
5.3.60.0060.03915.84
5.3.50.0030.05915.84
5.3.40.0030.03615.84
5.3.30.0030.05315.84
5.3.20.0070.06915.84
5.3.10.0000.04115.84
5.3.00.0070.04015.84
5.2.170.0070.06215.84
5.2.160.0000.05815.84
5.2.150.0000.03215.84
5.2.140.0000.04715.84
5.2.130.0030.03815.84
5.2.120.0000.03515.84
5.2.110.0000.03215.84
5.2.100.0070.02415.84
5.2.90.0030.02615.84
5.2.80.0030.02715.84
5.2.70.0070.03315.84
5.2.60.0030.02715.84
5.2.50.0100.02315.84
5.2.40.0030.02715.84
5.2.30.0000.04615.84
5.2.20.0030.03015.84
5.2.10.0060.02515.84
5.2.00.0040.03215.84
5.1.60.0030.03415.84
5.1.50.0000.05615.84
5.1.40.0000.03115.84
5.1.30.0030.05315.84
5.1.20.0030.04815.84
5.1.10.0070.04015.84
5.1.00.0030.02815.84
5.0.50.0000.02515.84
5.0.40.0000.02315.84
5.0.30.0030.02915.84
5.0.20.0000.02115.84
5.0.10.0030.02015.84
5.0.00.0000.03415.84
4.4.90.0030.01415.84
4.4.80.0060.01315.84
4.4.70.0030.01815.84
4.4.60.0030.01515.84
4.4.50.0000.02215.84
4.4.40.0000.03315.84
4.4.30.0070.02215.84
4.4.20.0030.02115.84
4.4.10.0040.01515.84
4.4.00.0030.02515.84
4.3.110.0000.01815.84
4.3.100.0000.01715.84
4.3.90.0030.01315.84
4.3.80.0030.02315.84
4.3.70.0000.01615.84
4.3.60.0030.01515.84
4.3.50.0030.01615.84
4.3.40.0000.02415.84
4.3.30.0030.01715.84
4.3.20.0040.01515.84
4.3.10.0070.01015.84
4.3.00.0000.01915.84

preferences:
70.53 ms | 400 KiB | 5 Q