3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function a(string $a) { } } class B extends A { public function b(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.60.0170.00018.18
8.3.50.0140.00316.14
8.3.40.0120.00618.43
8.3.30.0000.01518.45
8.3.20.0040.00420.21
8.3.10.0040.00421.73
8.3.00.0000.00820.95
8.2.180.0110.00718.27
8.2.170.0110.00322.96
8.2.160.0100.00322.26
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00422.25
8.2.120.0080.00026.35
8.2.110.0070.00320.90
8.2.100.0080.00417.78
8.2.90.0030.00518.72
8.2.80.0030.00517.97
8.2.70.0040.00417.38
8.2.60.0090.00017.66
8.2.50.0080.00018.10
8.2.40.0050.00322.36
8.2.30.0050.00320.82
8.2.20.0050.00217.85
8.2.10.0000.00717.79
8.2.00.0000.00717.91
8.1.270.0080.00023.85
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00921.04
8.1.230.0070.00419.02
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0000.00717.41
8.1.180.0000.00718.10
8.1.170.0040.00418.52
8.1.160.0070.00019.05
8.1.150.0030.00318.71
8.1.140.0050.00319.44
8.1.130.0070.00017.19
8.1.120.0070.00017.32
8.1.110.0000.00817.24
8.1.100.0040.00417.21
8.1.90.0050.00717.36
8.1.80.0030.00317.39
8.1.70.0000.00817.33
8.1.60.0000.00717.44
8.1.50.0040.00417.29
8.1.40.0000.00817.41
8.1.30.0050.00317.59
8.1.20.0000.00717.45
8.1.10.0000.00717.28
8.1.00.0030.00517.29
8.0.300.0000.00719.89
8.0.290.0080.00016.63
8.0.280.0070.00018.35
8.0.270.0060.00017.04
8.0.260.0000.00616.65
8.0.250.0070.00016.71
8.0.240.0000.00716.76
8.0.230.0050.00216.84
8.0.220.0040.00316.74
8.0.210.0030.00316.67
8.0.200.0000.00616.83
8.0.190.0040.00416.75
8.0.180.0000.00716.67
8.0.170.0030.00316.71
8.0.160.0040.00416.71
8.0.150.0030.00316.59
8.0.140.0000.00816.61
8.0.130.0030.00313.12
8.0.120.0030.00516.82
8.0.110.0040.00416.76
8.0.100.0000.00716.82
8.0.90.0000.00716.67
8.0.80.0100.00616.67
8.0.70.0040.00416.81
8.0.60.0040.00416.57
8.0.50.0080.00016.69
8.0.30.0110.00616.96
8.0.20.0100.01017.40
8.0.10.0030.00316.68
8.0.00.0030.01316.59
7.4.330.0000.00415.55
7.4.320.0040.00416.51
7.4.300.0060.00016.46
7.4.290.0030.00616.36
7.4.280.0080.00016.26
7.4.270.0040.00416.38
7.4.260.0000.00613.01
7.4.250.0040.00416.42
7.4.240.0000.00716.42
7.4.230.0000.00716.27
7.4.220.0150.00316.35
7.4.210.0080.00616.39
7.4.200.0000.00716.45
7.4.160.0060.01016.24
7.4.150.0090.00917.40
7.4.140.0090.01117.86
7.4.130.0150.00316.54
7.4.120.0140.00616.31
7.4.110.0120.00716.38
7.4.100.0150.00516.42
7.4.90.0060.01416.17
7.4.80.0030.01319.39
7.4.70.0070.01016.39
7.4.60.0180.00016.22
7.4.50.0060.00916.54
7.4.40.0070.01316.30
7.4.30.0100.00516.52
7.4.10.0070.01014.93
7.4.00.0070.01014.80
7.3.330.0000.00513.30
7.3.320.0000.00513.18
7.3.310.0030.00316.19
7.3.300.0000.00616.27
7.3.290.0070.00016.22
7.3.280.0070.00916.19
7.3.270.0110.00617.40
7.3.260.0130.00416.38
7.3.250.0080.00916.39
7.3.240.0060.01316.34
7.3.230.0070.01016.28
7.3.210.0400.01316.25
7.3.200.0090.00616.38
7.3.190.0060.00916.19
7.3.180.0120.00416.47
7.3.170.0040.01516.11
7.3.160.0090.00616.38
7.3.130.0030.01314.71
7.3.120.0030.01314.63
7.3.110.0070.01314.88
7.3.100.0090.00614.84
7.3.90.0030.00914.44
7.3.80.0100.00314.77
7.3.70.0030.01014.64
7.3.60.0110.00714.47
7.3.50.0050.00514.41
7.3.40.0030.01314.76
7.3.30.0060.00614.34
7.3.20.0120.00016.57
7.3.10.0060.01016.41
7.3.00.0120.00016.52
7.2.330.0110.00816.49
7.2.320.0110.00816.35
7.2.310.0160.00016.50
7.2.300.0060.00916.13
7.2.290.0100.01016.45
7.2.260.0090.00614.55
7.2.250.0030.01714.84
7.2.240.0130.00314.63
7.2.230.0110.00414.80
7.2.220.0090.00914.81
7.2.210.0030.00614.99
7.2.200.0030.00614.82
7.2.190.0000.01314.71
7.2.180.0060.01214.89
7.2.170.0030.01314.64
7.2.160.0080.00414.93
7.2.150.0000.01916.72
7.2.140.0070.01016.89
7.2.130.0000.01316.55
7.2.120.0070.01116.66
7.2.110.0100.00316.53
7.2.100.0000.01516.49
7.2.90.0160.00016.93
7.2.80.0110.00316.81
7.2.70.0100.00716.73
7.2.60.0460.00715.57
7.2.50.0000.01616.89
7.2.40.0060.01016.86
7.2.30.0080.00416.63
7.2.20.0030.00616.50
7.2.10.0040.00816.67
7.2.00.0020.00818.11
7.1.330.0000.01615.61
7.1.320.0000.01015.59
7.1.310.0000.01315.43
7.1.300.0000.01415.66
7.1.290.0000.01315.38
7.1.280.0110.00715.60
7.1.270.0070.00715.58
7.1.260.0090.00015.52
7.1.250.0050.00515.51
7.1.240.0000.01615.61
7.1.230.0100.00715.58
7.1.220.0060.00615.66
7.1.210.0090.00315.66
7.1.200.0180.00215.16
7.1.190.0040.00415.71
7.1.180.0000.01615.63
7.1.170.0030.01015.50
7.1.160.0060.00615.60
7.1.150.0060.00615.21
7.1.140.0040.00415.55
7.1.130.0090.00615.59
7.1.120.0040.00815.68
7.1.110.0060.00615.64
7.1.100.0060.00616.72
7.1.90.0060.00315.27
7.1.80.0000.01115.68
7.1.70.0050.00316.25
7.1.60.0460.00724.28
7.1.50.0350.00424.13
7.1.40.0230.01323.89
7.1.30.0260.01324.02
7.1.20.0410.01024.18
7.1.10.0180.01014.99
7.1.00.0250.01214.95
7.0.330.0140.00015.25
7.0.320.0070.00315.21
7.0.310.0060.00615.11
7.0.300.0070.00415.48
7.0.290.0060.00615.26
7.0.280.0030.00915.09
7.0.270.0030.00915.36
7.0.260.0030.00614.86
7.0.250.0000.00915.48
7.0.240.0070.00715.43
7.0.230.0090.00315.35
7.0.220.0030.00715.04
7.0.210.0040.00415.27
7.0.200.0270.00914.99
7.0.190.0180.01114.93
7.0.180.0230.00514.82
7.0.170.0220.01014.91
7.0.160.0340.00614.82
7.0.150.0300.00814.69
7.0.140.0220.00414.84
7.0.130.0350.00715.00
7.0.120.0300.01014.91
7.0.110.0280.01014.86
7.0.100.0290.00714.71
7.0.90.0220.01014.81
7.0.80.0390.01214.78
7.0.70.0250.01314.72
7.0.60.0290.01214.64
7.0.50.0300.00814.66
7.0.40.0240.00513.87
7.0.30.0260.00513.70
7.0.20.0260.00813.82
7.0.10.0230.00714.02
7.0.00.0230.01113.92
5.6.400.0070.00413.91
5.6.390.0030.00914.19
5.6.380.0040.00814.33
5.6.370.0120.00314.02
5.6.360.0030.00913.99
5.6.350.0060.00914.15
5.6.340.0070.00313.90
5.6.330.0060.00614.31
5.6.320.0030.00714.38
5.6.310.0090.00314.10
5.6.300.0070.00714.30
5.6.290.0090.00313.92
5.6.280.0040.00814.29
5.6.270.0000.01414.08
5.6.260.0090.00314.17
5.6.250.0080.00014.20
5.6.240.0090.00614.05
5.6.230.0090.00314.05
5.6.220.0030.01014.09
5.6.210.0000.01113.86
5.6.200.0100.00314.41
5.6.190.0060.00613.96
5.6.180.0100.00314.13
5.6.170.0030.00614.27
5.6.160.0080.00813.99
5.6.150.0110.00714.04
5.6.140.0000.01514.21
5.6.130.0000.01414.05
5.6.120.0050.00514.13
5.6.110.0060.01014.21
5.6.100.0070.01014.46
5.6.90.0060.00914.00
5.6.80.0060.00914.09
5.6.70.0030.01014.01
5.6.60.0080.00814.24
5.6.50.0100.00314.23
5.6.40.0120.00413.96
5.6.30.0040.01113.83
5.6.20.0070.00714.07
5.6.10.0060.00314.14
5.6.00.0070.00714.10

preferences:
56.8 ms | 400 KiB | 5 Q