3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function a() { } } class B extends A { public function a(array $a) { } }

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.0130.00718.45
8.3.50.0120.00821.85
8.3.40.0100.00718.84
8.3.30.0120.00318.65
8.3.20.0080.00018.77
8.3.10.0030.00519.21
8.3.00.0000.00723.48
8.2.180.0040.01116.32
8.2.170.0110.00422.96
8.2.160.0130.00020.37
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.12
8.2.110.0100.00019.27
8.2.100.0090.00317.72
8.2.90.0000.00818.91
8.2.80.0000.00817.97
8.2.70.0060.00317.38
8.2.60.0050.00317.92
8.2.50.0050.00318.07
8.2.40.0040.00418.09
8.2.30.0080.00021.21
8.2.20.0040.00417.40
8.2.10.0070.00017.54
8.2.00.0040.00417.49
8.1.280.0140.00425.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00422.24
8.1.230.0070.00418.87
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0070.00417.23
8.1.190.0000.00717.41
8.1.180.0000.00818.10
8.1.170.0060.00318.52
8.1.160.0000.00718.64
8.1.150.0000.00718.42
8.1.140.0020.00517.20
8.1.130.0000.00717.68
8.1.120.0000.00717.33
8.1.110.0070.00017.22
8.1.100.0000.00717.20
8.1.90.0000.00717.24
8.1.80.0040.00417.30
8.1.70.0000.00717.29
8.1.60.0060.00317.42
8.1.50.0000.00717.38
8.1.40.0040.00417.31
8.1.30.0000.00817.39
8.1.20.0000.00817.54
8.1.10.0080.00017.29
8.1.00.0000.00917.36
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0030.00318.22
8.0.270.0030.00317.09
8.0.260.0030.00316.67
8.0.250.0030.00316.79
8.0.240.0050.00316.88
8.0.230.0080.00016.84
8.0.220.0070.00016.74
8.0.210.0000.00716.79
8.0.200.0060.00316.86
8.0.190.0030.00316.75
8.0.180.0040.00416.86
8.0.170.0040.00416.85
8.0.160.0000.00816.73
8.0.150.0000.00716.66
8.0.140.0080.00016.61
8.0.130.0000.00513.22
8.0.120.0040.00416.80
8.0.110.0060.00316.84
8.0.100.0070.00016.86
8.0.90.0000.00816.73
8.0.80.0120.00316.85
8.0.70.0000.00716.86
8.0.60.0030.00516.89
8.0.50.0040.00416.68
8.0.30.0040.01516.97
8.0.20.0120.00917.40
8.0.10.0040.00416.98
8.0.00.0120.00516.62
7.4.330.0050.00014.66
7.4.320.0030.00316.38
7.4.300.0060.00016.45
7.4.290.0070.00016.27
7.4.280.0000.00716.45
7.4.270.0000.00716.30
7.4.260.0030.00313.19
7.4.250.0070.00016.35
7.4.240.0030.00616.44
7.4.230.0000.00616.54
7.4.220.0110.01116.36
7.4.210.0070.00816.51
7.4.200.0030.00616.58
7.4.190.0070.00216.20
7.4.160.0080.00816.41
7.4.150.0040.01417.40
7.4.140.0080.00917.86
7.4.130.0090.01216.38
7.4.120.0070.01016.25
7.4.110.0140.00716.45
7.4.100.0110.00616.23
7.4.90.0040.01516.52
7.4.80.0100.00719.39
7.4.70.0100.00716.50
7.4.60.0130.00316.17
7.4.50.0060.00316.42
7.4.40.0100.00322.77
7.4.30.0040.01216.19
7.4.00.0050.01114.78
7.3.330.0000.00513.17
7.3.320.0000.00513.14
7.3.310.0080.00016.21
7.3.300.0000.00716.24
7.3.290.0100.00716.19
7.3.280.0080.01116.25
7.3.270.0150.00317.40
7.3.260.0110.00718.24
7.3.250.0100.00716.33
7.3.240.0100.00716.32
7.3.230.0160.00616.39
7.3.210.0120.01216.21
7.3.200.0080.00819.39
7.3.190.0090.01216.42
7.3.180.0030.01416.32
7.3.170.0110.00616.29
7.3.160.0130.00316.28
7.3.120.0070.01014.67
7.3.110.0000.01414.73
7.3.100.0000.01514.85
7.3.90.0070.00714.91
7.3.80.0040.01214.41
7.3.70.0060.01014.71
7.3.60.0070.00714.76
7.3.50.0070.00714.43
7.3.40.0050.00514.73
7.3.30.0030.01314.39
7.3.20.0040.00716.54
7.3.10.0050.00816.58
7.3.00.0020.01216.28
7.2.330.0030.01316.32
7.2.320.0120.00916.59
7.2.310.0070.01416.19
7.2.300.0040.01216.32
7.2.290.0060.01016.45
7.2.250.0090.00914.96
7.2.240.0100.00714.72
7.2.230.0060.00614.88
7.2.220.0040.01415.08
7.2.210.0030.01014.98
7.2.200.0040.01114.69
7.2.190.0080.00814.59
7.2.180.0100.00314.69
7.2.170.0100.00714.84
7.2.130.0060.00916.52
7.2.120.0040.01116.66
7.2.110.0040.00716.88
7.2.100.0120.00616.50
7.2.90.0040.01116.69
7.2.80.0120.00316.48
7.2.70.0090.00616.20
7.2.60.0060.00916.66
7.2.50.0070.00716.59
7.2.40.0110.00416.86
7.2.30.0160.00016.66
7.2.20.0070.00316.66
7.2.10.0030.01016.75
7.2.00.0070.00716.78
7.1.330.0030.01315.76
7.1.320.0040.00815.60
7.1.310.0090.00615.48
7.1.300.0000.01315.44
7.1.290.0030.00615.65
7.1.280.0000.01015.62
7.1.270.0070.00315.73
7.1.260.0030.00915.71
7.1.250.0070.00315.63
7.1.200.0100.00315.50
7.1.100.0000.01217.89
7.1.70.0030.00916.92
7.1.60.0040.00719.40
7.1.50.0060.00616.82
7.1.00.0030.03322.43
7.0.200.0190.00316.53
7.0.140.0070.06722.09
7.0.60.0130.07719.99
7.0.50.0000.04717.85
7.0.40.0000.06320.23
7.0.30.0400.04720.19
7.0.20.0200.04020.16
7.0.10.0100.07020.13
7.0.00.0100.03720.25
5.6.280.0070.07021.07
5.6.210.0100.04720.47
5.6.200.0070.08318.22
5.6.190.0030.09320.61
5.6.180.3670.03720.39
5.6.170.0270.05020.48
5.6.160.0030.04020.43
5.6.150.0100.03718.19
5.6.140.0130.07318.16
5.6.130.0000.04318.15
5.6.120.0170.07720.90
5.6.110.0030.07021.13
5.6.100.0100.06020.86
5.6.90.0130.05321.00
5.6.80.0130.06720.47
5.6.70.4500.04020.28
5.5.350.0200.08020.40
5.5.340.0130.07018.09
5.5.330.0070.04020.37
5.5.320.0200.04320.30
5.5.310.0300.06020.28
5.5.300.0030.06017.92
5.5.290.0030.04018.09
5.5.280.0100.08020.87
5.5.270.0000.04320.77
5.5.260.0070.06320.64
5.5.250.0070.08320.58
5.5.240.0270.06720.13
5.4.450.0300.05019.46
5.4.440.0470.04019.18
5.4.430.0200.07719.36
5.4.420.0470.04719.45
5.4.410.0330.04019.30
5.4.400.0370.04019.17
5.4.390.0500.04319.22
5.4.380.0230.03319.13
5.4.370.0070.04719.06
5.4.360.0130.04719.17
5.4.350.0130.04019.24
5.4.340.0170.03719.04
5.4.320.0030.05318.94
5.4.310.0000.03719.06
5.4.300.0000.07718.99
5.4.290.0030.04019.30
5.4.280.0600.04318.95
5.4.270.0330.04018.85
5.4.260.0400.04719.21
5.4.250.0900.03018.98
5.4.240.0400.03019.03
5.4.230.0870.03019.21
5.4.220.0270.04319.05
5.4.210.0400.04319.03
5.4.200.0230.04319.03
5.4.190.0270.04019.05
5.4.180.0800.04718.95
5.4.170.0770.03018.82
5.4.160.0270.03719.20
5.4.150.0600.04318.94
5.4.140.0530.04716.41
5.4.130.0430.04016.38
5.4.120.1000.02716.45
5.4.110.0070.02716.60
5.4.100.0570.04316.48
5.4.90.0330.04316.59
5.4.80.0870.02716.41
5.4.70.0400.04716.57
5.4.60.0400.04316.31
5.4.50.0670.03016.16
5.4.40.0570.03016.33
5.4.30.0830.02716.40
5.4.20.0670.04316.18
5.4.10.0630.04016.14
5.4.00.0430.03015.78
5.3.290.0000.05015.67
5.3.280.0700.04015.63
5.3.270.0770.04015.63
5.3.260.0730.04015.63
5.3.250.0500.03015.63
5.3.240.0370.04015.63
5.3.230.0500.03315.63
5.3.220.0430.04015.63
5.3.210.0530.03015.63
5.3.200.0370.03715.63
5.3.190.0370.04015.63
5.3.180.0330.04015.63
5.3.170.0470.03015.61
5.3.160.0230.04015.51
5.3.150.0870.03315.51
5.3.140.0700.04015.51
5.3.130.0630.03315.51
5.3.120.0930.03315.51
5.3.110.0930.02715.51
5.3.100.0270.04015.51
5.3.90.0730.02315.51
5.3.80.0670.04315.51
5.3.70.0870.03015.51
5.3.60.0730.04015.51
5.3.50.0830.03715.51
5.3.40.1030.03315.51
5.3.30.0430.05315.51
5.3.20.0830.03715.51
5.3.10.0500.03315.51
5.3.00.0230.03015.51
5.2.170.0500.03315.51
5.2.160.0370.02315.51
5.2.150.0400.03315.51
5.2.140.0870.04015.51
5.2.130.0270.02715.51
5.2.120.0470.03315.51
5.2.110.0500.02315.51
5.2.100.0230.03315.51
5.2.90.0200.03015.51
5.2.80.0470.04015.51
5.2.70.0200.03715.51
5.2.60.0500.03315.51
5.2.50.0270.03715.51
5.2.40.0200.03015.51
5.2.30.0600.04015.51
5.2.20.0170.02715.51
5.2.10.0500.02715.51
5.2.00.0370.03015.51
5.1.60.0370.04315.51
5.1.50.0330.02715.51
5.1.40.0470.02315.51
5.1.30.0600.02715.51
5.1.20.0300.02315.51
5.1.10.0500.03015.51
5.1.00.0630.02015.51
5.0.50.0070.02715.51
5.0.40.0200.01715.51
5.0.30.0170.07715.51
5.0.20.0100.02315.51
5.0.10.0070.03015.51
5.0.00.0170.03015.51
4.4.90.0130.02015.51
4.4.80.0170.01315.51
4.4.70.0130.01715.51
4.4.60.0170.01015.51
4.4.50.0070.01315.51
4.4.40.0200.03015.51
4.4.30.0270.01715.51
4.4.20.0030.02315.51
4.4.10.0070.01315.51
4.4.00.0170.02715.51
4.3.110.0270.01715.51
4.3.100.0170.01715.51
4.3.90.0100.01315.51
4.3.80.0100.02315.50
4.3.70.0170.01315.50
4.3.60.0200.01715.50
4.3.50.0270.01015.47
4.3.40.0100.02015.28
4.3.30.0230.00715.28
4.3.20.0000.02015.28
4.3.10.0030.01715.28
4.3.00.0100.01315.28

preferences:
47.98 ms | 401 KiB | 5 Q