3v4l.org

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

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.0040.01118.36
8.3.50.0120.00722.11
8.3.40.0140.00718.67
8.3.30.0090.00618.65
8.3.20.0000.00818.60
8.3.10.0000.00821.05
8.3.00.0040.00419.66
8.2.180.0180.00316.63
8.2.170.0140.00022.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0070.00020.94
8.2.110.0090.00018.98
8.2.100.0110.00017.71
8.2.90.0050.00319.10
8.2.80.0060.00317.97
8.2.70.0040.00717.38
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0000.00918.03
8.2.30.0040.00419.46
8.2.20.0040.00417.56
8.2.10.0000.00717.48
8.2.00.0030.00817.59
8.1.280.0070.01125.92
8.1.270.0000.00823.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00021.30
8.1.230.0110.00017.42
8.1.220.0020.00517.74
8.1.210.0030.00618.77
8.1.200.0030.00617.22
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0050.00318.59
8.1.160.0040.00418.78
8.1.150.0000.00718.60
8.1.140.0050.00217.25
8.1.130.0070.00017.75
8.1.120.0000.00717.33
8.1.110.0040.00417.38
8.1.100.0040.00417.28
8.1.90.0030.00517.35
8.1.80.0000.00717.42
8.1.70.0070.00017.33
8.1.60.0030.00517.51
8.1.50.0000.00717.32
8.1.40.0060.00317.36
8.1.30.0020.00517.61
8.1.20.0040.00417.63
8.1.10.0000.00717.40
8.1.00.0040.00417.36
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.40
8.0.270.0070.00017.20
8.0.260.0000.00618.36
8.0.250.0000.00716.93
8.0.240.0050.00316.84
8.0.230.0070.00016.92
8.0.220.0030.00316.77
8.0.210.0030.00316.91
8.0.200.0060.00016.96
8.0.190.0040.00316.77
8.0.180.0040.00416.99
8.0.170.0030.00316.83
8.0.160.0050.00316.99
8.0.150.0030.00316.93
8.0.140.0050.00516.73
8.0.130.0030.00313.24
8.0.120.0040.00416.74
8.0.110.0000.00716.94
8.0.100.0000.00716.87
8.0.90.0000.00816.87
8.0.80.0070.01516.88
8.0.70.0040.00416.95
8.0.60.0000.00716.79
8.0.50.0030.00516.73
8.0.30.0120.00716.86
8.0.20.0090.00917.40
8.0.10.0040.00416.91
8.0.00.0150.01116.59
7.4.330.0050.00016.73
7.4.320.0030.00316.44
7.4.300.0040.00416.45
7.4.290.0040.00416.52
7.4.280.0030.00316.52
7.4.270.0030.00316.36
7.4.260.0000.00913.25
7.4.250.0040.00416.50
7.4.240.0000.00716.39
7.4.230.0070.00016.36
7.4.220.0090.01216.52
7.4.210.0080.00716.53
7.4.200.0070.00016.55
7.4.190.0050.00216.38
7.4.160.0100.00716.52
7.4.150.0090.01017.40
7.4.140.0180.00217.86
7.4.130.0070.01016.41
7.4.120.0090.00816.44
7.4.110.0070.01316.47
7.4.100.0140.00316.52
7.4.90.0180.00016.41
7.4.80.0070.01019.39
7.4.70.0080.01116.37
7.4.60.0040.01216.36
7.4.50.0030.00716.25
7.4.40.0090.00522.77
7.4.30.0090.00716.36
7.4.00.0070.01014.98
7.3.330.0050.00013.19
7.3.320.0000.00513.10
7.3.310.0030.00316.05
7.3.300.0000.00716.09
7.3.290.0030.01216.22
7.3.280.0050.01216.20
7.3.270.0030.01317.40
7.3.260.0080.00918.24
7.3.250.0110.00616.36
7.3.240.0160.00516.46
7.3.230.0130.00916.39
7.3.210.0140.00516.25
7.3.200.0160.00319.39
7.3.190.0100.00816.34
7.3.180.0130.00316.21
7.3.170.0060.00916.41
7.3.160.0040.01216.41
7.3.120.0030.01114.88
7.2.330.0060.01216.66
7.2.320.0130.00516.63
7.2.310.0130.01016.55
7.2.300.0030.01416.19
7.2.290.0080.00816.55
7.2.60.0000.01316.86
7.2.00.0080.01219.24
7.1.200.0070.00315.68
7.1.70.0050.00316.90
7.1.60.0040.00717.17
7.1.50.0080.00416.82
7.1.40.0080.00316.51
7.1.30.0000.01116.54
7.1.20.0040.01116.70
7.1.10.0050.00316.44
7.1.00.0030.00616.50
7.0.200.0070.00016.77
7.0.190.0030.01016.44
7.0.180.0030.01316.38
7.0.170.0000.01316.38
7.0.160.0040.00416.38
7.0.150.0000.00816.38
7.0.140.0000.01016.38
7.0.130.0030.00916.38
7.0.120.0070.00716.39
7.0.110.0000.01216.38
7.0.100.0000.00916.38
7.0.90.0030.00916.38
7.0.80.0000.00816.38
7.0.70.0030.00716.38
7.0.60.0000.00716.38
7.0.50.0050.00516.38
7.0.40.0000.00716.38
7.0.30.0050.00216.38
7.0.20.0000.00716.38
7.0.10.0030.00616.38
7.0.00.0030.00716.38
5.6.300.0030.04620.80
5.6.290.0000.07520.92
5.6.280.0030.04321.03
5.6.270.0030.04321.07
5.6.260.0030.03921.07
5.6.250.0030.04020.91
5.6.240.0000.05820.83
5.6.230.0070.03920.92
5.6.220.0000.04820.81
5.6.210.0030.04321.06
5.6.200.0070.03720.99
5.6.190.0030.04320.75
5.6.180.0030.04220.74
5.6.170.0000.04521.02
5.6.160.0030.04020.82
5.6.150.0160.03920.74
5.6.140.0030.04120.97
5.6.130.0070.04920.99
5.6.120.0000.05020.82
5.6.110.0100.04121.04
5.6.100.0070.04620.95
5.6.90.0000.07920.82
5.6.80.0000.04420.32
5.6.70.0070.04120.20
5.6.60.0100.04720.36
5.6.50.0000.04320.25
5.6.40.0030.04120.20
5.6.30.0000.04520.34
5.6.20.0030.06620.09
5.6.10.0030.04020.11
5.6.00.0030.05020.07
5.5.380.0030.04017.55
5.5.370.0030.04117.54
5.5.360.0000.04217.40
5.5.350.0030.04117.45
5.5.340.0000.04718.01
5.5.330.0060.03518.09
5.5.320.0000.04418.09
5.5.310.0030.04418.08
5.5.300.0030.03918.09
5.5.290.0000.07618.09
5.5.280.0000.04918.06
5.5.270.0030.04118.08
5.5.260.0060.07518.09
5.5.250.0030.08917.90
5.5.240.0070.04017.47
5.5.230.0030.04017.49
5.5.220.0000.04417.38
5.5.210.0030.03717.39
5.5.200.0130.04317.38
5.5.190.0060.03917.48
5.5.180.0090.03517.35
5.5.160.0070.03317.41
5.5.150.0030.03817.38
5.5.140.0030.06517.44
5.5.130.0060.03917.19
5.5.120.0030.04217.44
5.5.110.0040.03917.46
5.5.100.0030.04317.00
5.5.90.0030.04017.26
5.5.80.0000.03916.95
5.5.70.0000.05117.38
5.5.60.0070.03617.27
5.5.50.0000.04317.33
5.5.40.0000.03917.42
5.5.30.0030.03617.07
5.5.20.0070.03916.94
5.5.10.0060.03517.37
5.5.00.0070.04117.25
5.4.450.0030.04219.41
5.4.440.0000.04719.21
5.4.430.0070.03819.57
5.4.420.0000.07519.28
5.4.410.0100.05519.43
5.4.400.0030.04118.88
5.4.390.0030.04219.11
5.4.380.0030.04119.21
5.4.370.0090.03419.01
5.4.360.0000.05019.05
5.4.350.0100.05518.95
5.4.340.0000.05419.04
5.4.320.0060.03719.14
5.4.310.0000.04519.04
5.4.300.0000.05919.20
5.4.290.0030.07019.04
5.4.280.0100.06619.14
5.4.270.0030.03919.23
5.4.260.0060.03419.14
5.4.250.0070.03419.13
5.4.240.0030.03718.95
5.4.230.0070.04318.96
5.4.220.0030.05819.07
5.4.210.0030.03619.13
5.4.200.0030.03618.96
5.4.190.0070.03319.17
5.4.180.0070.03319.17
5.4.170.0070.03319.04
5.4.160.0030.07919.02
5.4.150.0030.03819.18
5.4.140.0070.06616.76
5.4.130.0000.04016.46
5.4.120.0000.03716.63
5.4.110.0030.03616.45
5.4.100.0070.03216.63
5.4.90.0000.04316.77
5.4.80.0030.03616.74
5.4.70.0000.04616.57
5.4.60.0030.03316.68
5.4.50.0000.05616.60
5.4.40.0030.04316.65
5.4.30.0030.04316.45
5.4.20.0000.03816.57
5.4.10.0000.04216.67
5.4.00.0100.02916.38
5.3.290.0070.06616.38
5.3.280.0030.04216.38
5.3.270.0000.03916.38
5.3.260.0000.04216.38
5.3.250.0030.03516.38
5.3.240.0030.03616.38
5.3.230.0030.04016.38
5.3.220.0070.05316.38
5.3.210.0130.07016.38
5.3.200.0070.03816.38
5.3.190.0000.04416.38
5.3.180.0060.03516.38
5.3.170.0000.04216.38
5.3.160.0030.03616.38
5.3.150.0030.08016.38
5.3.140.0000.04016.38
5.3.130.0000.04416.38
5.3.120.0030.04716.38
5.3.110.0000.04016.38
5.3.100.0000.04116.38
5.3.90.0030.03316.38
5.3.80.0200.03916.38
5.3.70.0030.03416.38
5.3.60.0030.03316.38
5.3.50.0030.03516.38
5.3.40.0100.04116.38
5.3.30.0030.03416.38
5.3.20.0070.03016.38
5.3.10.0000.03616.38
5.3.00.0070.03316.38
5.2.170.0000.03216.38
5.2.160.0000.03016.38
5.2.150.0030.03216.38
5.2.140.0000.03216.38
5.2.130.0070.02616.38
5.2.120.0070.02416.38
5.2.110.0030.02916.38
5.2.100.0000.03216.38
5.2.90.0000.03216.38
5.2.80.0030.03016.38
5.2.70.0000.03016.38
5.2.60.0070.02516.38
5.2.50.0060.02816.38
5.2.40.0070.02316.38
5.2.30.0000.03716.38
5.2.20.0000.03316.38
5.2.10.0000.03016.38
5.2.00.0000.03316.38
5.1.60.0030.02316.38
5.1.50.0030.02916.38
5.1.40.0030.02416.38
5.1.30.0030.02616.38
5.1.20.0060.02616.38
5.1.10.0040.02816.38
5.1.00.0130.02316.38
5.0.50.0000.02216.38
5.0.40.0000.02816.38
5.0.30.0030.06416.38
5.0.20.0100.03916.38
5.0.10.0030.01716.38
5.0.00.0000.03116.38
4.4.90.0000.01616.38
4.4.80.0030.01316.38
4.4.70.0000.01816.38
4.4.60.0000.01716.38
4.4.50.0000.01616.38
4.4.40.0000.02516.38
4.4.30.0000.01816.38
4.4.20.0000.01716.38
4.4.10.0000.01716.38
4.4.00.0030.02416.38
4.3.110.0030.01316.38
4.3.100.0060.00916.38
4.3.90.0030.01216.38
4.3.80.0040.02516.38
4.3.70.0030.01316.38
4.3.60.0000.01616.38
4.3.50.0000.01616.38
4.3.40.0000.03716.38
4.3.30.0000.01716.38
4.3.20.0000.01716.38
4.3.10.0000.02016.38
4.3.00.0030.01716.38

preferences:
42.63 ms | 401 KiB | 5 Q