3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function aa(string $a) { } } class B extends A { public function aa(string $a, string $b = null) { } }

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.0090.00618.31
8.3.60.0110.00718.43
8.3.50.0100.00516.44
8.3.40.0150.00318.47
8.3.30.0070.00718.50
8.3.20.0040.00420.12
8.3.10.0040.00421.90
8.3.00.0050.00320.77
8.2.180.0060.01217.90
8.2.170.0000.01422.96
8.2.160.0130.00722.26
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0070.00022.25
8.2.120.0000.00726.35
8.2.110.0000.01020.38
8.2.100.0040.00817.53
8.2.90.0070.00019.11
8.2.80.0000.00817.97
8.2.70.0050.00517.50
8.2.60.0000.00817.91
8.2.50.0000.00918.10
8.2.40.0060.00322.27
8.2.30.0000.00720.80
8.2.20.0000.00817.98
8.2.10.0060.00317.84
8.2.00.0070.00017.88
8.1.280.0100.00325.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00320.77
8.1.230.0070.00419.02
8.1.220.0090.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.11
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0030.00618.36
8.1.160.0050.00218.88
8.1.150.0040.00418.66
8.1.140.0000.00719.44
8.1.130.0030.00318.75
8.1.120.0040.00417.39
8.1.110.0040.00417.34
8.1.100.0000.00817.32
8.1.90.0060.00317.25
8.1.80.0040.00417.21
8.1.70.0070.00017.33
8.1.60.0020.00517.48
8.1.50.0000.00717.37
8.1.40.0040.00417.39
8.1.30.0000.00817.51
8.1.20.0080.00017.56
8.1.10.0040.00417.40
8.1.00.0040.00417.26
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0000.00718.31
8.0.270.0030.00317.12
8.0.260.0000.00616.60
8.0.250.0040.00416.81
8.0.240.0000.00716.73
8.0.230.0070.00016.71
8.0.220.0000.00616.77
8.0.210.0030.00516.74
8.0.200.0040.00416.82
8.0.190.0040.00416.79
8.0.180.0050.00316.81
8.0.170.0030.00316.76
8.0.160.0030.00316.77
8.0.150.0000.00716.77
8.0.140.0000.00716.70
8.0.130.0000.00613.16
8.0.120.0000.00716.66
8.0.110.0030.00316.62
8.0.100.0030.00316.65
8.0.90.0050.00216.82
8.0.80.0110.00716.79
8.0.70.0040.00416.61
8.0.60.0050.00216.69
8.0.50.0030.00516.64
8.0.30.0090.00816.95
8.0.20.0070.01317.40
8.0.10.0000.00716.85
8.0.00.0140.00316.69
7.4.330.0000.00415.55
7.4.320.0000.00716.51
7.4.300.0030.00316.44
7.4.290.0080.00316.30
7.4.280.0000.00816.47
7.4.270.0040.00416.49
7.4.260.0040.00413.25
7.4.250.0000.00716.42
7.4.240.0000.00716.52
7.4.230.0030.00316.30
7.4.220.0100.01016.40
7.4.210.0090.00716.55
7.4.200.0030.00316.25
7.4.160.0110.00616.24
7.4.150.0090.00917.40
7.4.140.0100.00817.86
7.4.130.0100.01016.52
7.4.120.0120.01016.40
7.4.110.0100.00716.49
7.4.100.0090.00916.28
7.4.90.0070.01016.36
7.4.80.0030.01319.39
7.4.70.0120.00416.34
7.4.60.0070.01016.16
7.4.50.0030.01316.47
7.4.40.0070.01016.46
7.4.30.0090.00616.31
7.4.10.0040.01115.07
7.4.00.0070.01114.89
7.3.330.0050.00012.95
7.3.320.0030.00212.99
7.3.310.0030.00316.13
7.3.300.0030.00316.13
7.3.290.0060.00016.03
7.3.280.0110.00516.13
7.3.270.0120.01217.40
7.3.260.0110.00816.22
7.3.250.0080.00916.34
7.3.240.0100.00616.28
7.3.230.0100.01316.27
7.3.210.0140.01416.41
7.3.200.0030.01616.30
7.3.190.0110.00416.15
7.3.180.0040.01316.11
7.3.170.0120.00916.43
7.3.160.0090.00616.15
7.3.130.0030.01414.61
7.3.120.0090.00914.79
7.3.110.0040.01514.67
7.3.100.0100.00314.64
7.3.90.0100.00714.91
7.3.80.0100.01014.48
7.3.70.0000.01114.74
7.3.60.0070.00414.86
7.3.50.0000.01514.36
7.3.40.0060.00614.46
7.3.30.0120.00314.71
7.3.20.0030.01316.27
7.3.10.0040.01116.62
7.3.00.0030.01016.58
7.2.330.0130.01016.38
7.2.320.0110.00616.39
7.2.310.0030.01316.40
7.2.300.0110.00816.14
7.2.290.0060.01116.55
7.2.260.0000.01614.70
7.2.250.0000.01914.93
7.2.240.0070.01014.79
7.2.230.0080.01214.80
7.2.220.0070.01015.02
7.2.210.0030.01014.66
7.2.200.0070.00314.85
7.2.190.0090.00314.71
7.2.180.0090.00614.56
7.2.170.0120.00014.92
7.2.160.0070.00714.73
7.2.150.0050.00516.67
7.2.140.0030.00916.69
7.2.130.0100.00316.44
7.2.120.0000.01416.76
7.2.110.0070.00316.63
7.2.100.0100.00616.70
7.2.90.0040.00816.76
7.2.80.0000.01016.79
7.2.70.0070.00716.32
7.2.60.0090.00316.81
7.2.50.0120.00316.70
7.2.40.0070.01016.75
7.2.30.0060.00616.78
7.2.20.0090.00616.68
7.2.10.0000.01016.95
7.2.00.0060.00918.07
7.1.330.0000.01315.68
7.1.320.0060.00915.43
7.1.310.0060.00615.67
7.1.300.0060.00315.68
7.1.290.0000.01215.60
7.1.280.0030.00915.66
7.1.270.0000.01215.53
7.1.260.0060.01015.75
7.1.250.0090.00615.57
7.1.240.0070.00715.40
7.1.230.0070.00715.72
7.1.220.0070.00715.43
7.1.210.0000.01315.76
7.1.200.0070.00715.56
7.1.190.0040.00815.47
7.1.180.0000.01415.69
7.1.170.0110.00315.78
7.1.160.0030.00515.60
7.1.150.0050.00315.64
7.1.140.0100.00615.65
7.1.130.0080.00815.46
7.1.120.0030.00915.66
7.1.110.0070.00715.44
7.1.100.0050.00616.74
7.1.90.0060.00615.30
7.1.80.0000.01415.55
7.1.70.0050.00716.18
7.1.60.0350.01024.35
7.1.50.0410.01524.34
7.1.40.0300.01023.95
7.1.30.0630.01324.08
7.1.20.0370.00824.14
7.1.10.0220.01214.87
7.1.00.0230.00815.06
7.0.330.0030.01015.30
7.0.320.0030.01015.29
7.0.310.0040.01115.32
7.0.300.0080.00815.23
7.0.290.0030.00815.43
7.0.280.0030.00815.36
7.0.270.0080.00815.17
7.0.260.0030.00715.29
7.0.250.0000.00815.03
7.0.240.0070.00715.45
7.0.230.0060.01015.04
7.0.220.0040.01115.18
7.0.210.0000.01115.14
7.0.200.0390.01215.03
7.0.190.0400.01014.90
7.0.180.0230.00714.87
7.0.170.0350.00814.70
7.0.160.0280.00814.62
7.0.150.0300.01214.60
7.0.140.0280.00514.83
7.0.130.0300.00714.89
7.0.120.0440.00814.97
7.0.110.0390.01014.77
7.0.100.0310.00214.58
7.0.90.0280.00714.73
7.0.80.0280.00714.70
7.0.70.0410.00814.75
7.0.60.0320.00714.79
7.0.50.0500.00814.88
7.0.40.0510.00713.98
7.0.30.0470.00914.01
7.0.20.0520.01013.82
7.0.10.0330.01013.81
7.0.00.0300.01213.94
5.6.400.0090.00613.97
5.6.390.0040.00813.80
5.6.380.0030.01514.12
5.6.370.0100.00314.25
5.6.360.0080.00014.24
5.6.350.0100.00314.25
5.6.340.0110.00614.05
5.6.330.0000.01414.08
5.6.320.0100.00314.21
5.6.310.0070.00414.32
5.6.300.0090.00014.49
5.6.290.0030.01014.24
5.6.280.0040.01113.84
5.6.270.0060.00614.04
5.6.260.0030.01014.06
5.6.250.0100.00314.09
5.6.240.0100.00314.18
5.6.230.0060.00914.42
5.6.220.0060.00914.27
5.6.210.0040.00914.39
5.6.200.0000.01014.07
5.6.190.0060.00314.46
5.6.180.0060.00914.09
5.6.170.0110.00314.27
5.6.160.0080.00813.84
5.6.150.0040.00713.95
5.6.140.0040.00713.98
5.6.130.0040.00414.18
5.6.120.0100.00314.13
5.6.110.0100.00313.85
5.6.100.0070.00714.26
5.6.90.0090.00014.18
5.6.80.0000.01313.75
5.6.70.0040.00813.75
5.6.60.0060.00613.96
5.6.50.0120.00314.27
5.6.40.0030.01014.01
5.6.30.0070.00713.89
5.6.20.0040.00413.93
5.6.10.0000.01013.98
5.6.00.0000.01113.91

preferences:
53.05 ms | 401 KiB | 5 Q