3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function test($arg = null) {} } class B extends A { public function test() {} }

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.0070.00718.18
8.3.60.0110.00416.63
8.3.50.0070.01221.22
8.3.40.0120.00618.48
8.3.30.0040.01118.57
8.3.20.0040.00421.90
8.3.10.0000.00818.53
8.3.00.0000.00723.67
8.2.190.0170.00318.16
8.2.180.0070.01316.50
8.2.170.0090.00622.96
8.2.160.0200.00020.44
8.2.150.0040.00424.18
8.2.140.0190.00024.66
8.2.130.0190.00019.41
8.2.120.0040.00426.35
8.2.110.0060.00320.54
8.2.100.0070.00417.66
8.2.90.0050.00317.38
8.2.80.0080.00017.97
8.2.70.0080.00017.80
8.2.60.0000.00717.97
8.2.50.0030.00618.10
8.2.40.0000.00819.22
8.2.30.0000.00719.13
8.2.20.0000.00717.93
8.2.10.0050.00317.84
8.2.00.0040.00417.42
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0050.00328.09
8.1.250.0000.00828.09
8.1.240.0060.00320.95
8.1.230.0000.01118.88
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00617.13
8.1.190.0060.00317.10
8.1.180.0080.00018.10
8.1.170.0050.00318.56
8.1.160.0040.00422.13
8.1.150.0000.00718.75
8.1.140.0040.00419.45
8.1.130.0040.00417.57
8.1.120.0030.00517.30
8.1.110.0000.00717.21
8.1.100.0040.00417.19
8.1.90.0000.00817.32
8.1.80.0030.00517.23
8.1.70.0000.00817.31
8.1.60.0050.00317.43
8.1.50.0050.00317.41
8.1.40.0050.00317.38
8.1.30.0080.00017.48
8.1.20.0020.00517.51
8.1.10.0070.00017.29
8.1.00.0020.00517.31
8.0.300.0000.00918.77
8.0.290.0060.00316.75
8.0.280.0030.00518.26
8.0.270.0040.00417.08
8.0.260.0000.00617.04
8.0.250.0050.00316.82
8.0.240.0040.00416.90
8.0.230.0070.00016.81
8.0.220.0030.00316.80
8.0.210.0000.00816.71
8.0.200.0000.00616.85
8.0.190.0030.00316.88
8.0.180.0110.00016.90
8.0.170.0000.00716.84
8.0.160.0070.00016.88
8.0.150.0040.00416.80
8.0.140.0030.00616.83
8.0.130.0030.00313.21
8.0.120.0000.00816.79
8.0.110.0040.00416.79
8.0.100.0000.00816.89
8.0.90.0030.00316.87
8.0.80.0070.00716.86
8.0.70.0080.00016.78
8.0.60.0000.00716.69
8.0.50.0000.00716.79
8.0.30.0110.00517.00
8.0.20.0030.01817.40
8.0.10.0050.00216.85
8.0.00.0060.01216.81
7.4.330.0040.00415.55
7.4.320.0000.00616.37
7.4.300.0030.00316.36
7.4.290.0040.00416.23
7.4.280.0000.00916.31
7.4.270.0030.00316.52
7.4.260.0030.00316.42
7.4.250.0000.00716.24
7.4.240.0040.00416.47
7.4.230.0040.00416.32
7.4.220.0150.00816.33
7.4.210.0120.00816.45
7.4.200.0000.00716.54
7.4.160.0100.00816.49
7.4.150.0120.00617.40
7.4.140.0110.00917.86
7.4.130.0130.00616.28
7.4.120.0070.00916.26
7.4.110.0120.00916.36
7.4.100.0030.01916.43
7.4.90.0130.00316.44
7.4.80.0100.00919.39
7.4.70.0030.01316.25
7.4.60.0070.01016.40
7.4.50.0090.00916.48
7.4.40.0110.00616.41
7.4.30.0100.00916.26
7.4.00.0070.00714.66
7.3.330.0000.00513.20
7.3.320.0040.00313.24
7.3.310.0030.00316.13
7.3.300.0060.00016.04
7.3.290.0040.01016.23
7.3.280.0120.00616.22
7.3.270.0040.01217.40
7.3.260.0090.01116.34
7.3.250.0070.00916.30
7.3.240.0130.00516.31
7.3.230.0060.01616.39
7.3.210.0110.00616.15
7.3.200.0040.01216.11
7.3.190.0090.00916.28
7.3.180.0110.00516.20
7.3.170.0130.00316.32
7.3.160.0130.00416.38
7.3.120.0090.00614.82
7.3.110.0100.00314.70
7.3.100.0000.01314.57
7.3.90.0030.01014.68
7.3.80.0060.00614.43
7.3.70.0080.00514.42
7.3.60.0060.00914.68
7.3.50.0040.00414.62
7.3.40.0100.00714.55
7.3.30.0060.00614.87
7.3.20.0000.01316.52
7.3.10.0070.01016.36
7.3.00.0040.01116.49
7.2.330.0030.01316.14
7.2.320.0030.01616.30
7.2.310.0170.00616.57
7.2.300.0240.00016.28
7.2.290.0100.01416.34
7.2.240.0140.00414.82
7.2.230.0000.01514.55
7.2.220.0070.00314.78
7.2.210.0060.00914.77
7.2.200.0030.01014.68
7.2.190.0040.00814.71
7.2.180.0030.01415.02
7.2.170.0040.01114.95
7.2.160.0090.00314.96
7.2.150.0030.00916.67
7.2.140.0090.00616.88
7.2.130.0120.00316.34
7.2.120.0100.00716.65
7.2.110.0060.00616.52
7.2.100.0090.00916.82
7.2.90.0060.00916.46
7.2.80.0100.00716.71
7.2.70.0060.01016.81
7.2.60.0060.00716.71
7.2.50.0080.00916.61
7.2.40.0110.00416.72
7.2.30.0100.00316.80
7.2.20.0040.01116.50
7.2.10.0040.00816.80
7.2.00.0120.00316.63
7.1.330.0040.00715.23
7.1.320.0000.01115.71
7.1.310.0040.00715.57
7.1.300.0090.00615.55
7.1.290.0070.00715.61
7.1.280.0070.00315.59
7.1.270.0030.01115.31
7.1.260.0000.01015.50
7.1.250.0150.00315.57
7.1.200.0170.00015.75
7.1.70.0050.00216.97
7.1.60.0040.00717.28
7.1.50.0060.01816.50
7.1.00.0030.07722.25
7.0.200.0460.00314.54
7.0.120.0100.06722.06
7.0.110.0000.07722.02
7.0.100.0000.07722.04
7.0.90.0000.07321.97
7.0.80.0100.06322.07
7.0.70.0000.07722.16
7.0.60.0070.07022.01
7.0.50.0030.07322.04
7.0.40.0030.07322.11
7.0.30.0070.06722.08
7.0.20.0100.06722.07
7.0.10.0000.07722.18
7.0.00.0030.07321.96
5.6.260.0070.07021.05
5.6.250.0030.07320.96
5.6.240.0000.08021.10
5.6.230.0030.07720.87
5.6.220.0100.06721.01
5.6.210.0100.06720.95
5.6.200.0030.07720.83
5.6.190.0030.07720.85
5.6.180.0030.07321.01
5.6.170.0000.07321.04
5.6.160.0030.07321.04
5.6.150.0030.07721.08
5.6.140.0030.07721.08
5.6.130.0070.07020.82
5.6.120.0000.07021.04
5.6.110.0100.07020.82
5.6.100.0070.07020.91
5.6.90.0030.07020.82
5.6.80.0000.07320.46
5.6.70.0030.06720.43
5.6.60.0030.07020.29
5.6.50.0070.06720.21
5.6.40.0070.06320.44
5.6.30.0000.07720.36
5.6.20.0000.07320.11
5.6.10.0030.07020.36
5.6.00.0000.07320.13

preferences:
72.29 ms | 401 KiB | 5 Q