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) { } }

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.0090.00918.43
8.3.50.0070.00716.50
8.3.40.0140.00418.51
8.3.30.0110.00418.31
8.3.20.0050.00320.25
8.3.10.0080.00021.79
8.3.00.0040.00420.77
8.2.180.0100.00718.04
8.2.170.0120.00322.96
8.2.160.0050.01022.06
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00720.57
8.2.120.0040.00426.35
8.2.110.0040.00721.18
8.2.100.0030.00918.03
8.2.90.0040.00418.16
8.2.80.0000.00817.97
8.2.70.0040.00417.91
8.2.60.0050.00317.80
8.2.50.0050.00318.10
8.2.40.0060.00322.23
8.2.30.0000.00720.91
8.2.20.0040.00417.83
8.2.10.0000.00717.97
8.2.00.0000.00717.89
8.1.280.0070.00725.92
8.1.270.0030.00624.01
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0060.00321.95
8.1.230.0080.00422.73
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.10
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0060.00318.51
8.1.160.0080.00018.84
8.1.150.0020.00518.75
8.1.140.0000.00719.31
8.1.130.0030.00317.36
8.1.120.0000.00817.23
8.1.110.0040.00417.29
8.1.100.0070.00017.24
8.1.90.0030.00617.36
8.1.80.0000.00717.31
8.1.70.0030.00317.23
8.1.60.0020.00517.45
8.1.50.0070.00017.23
8.1.40.0040.00417.40
8.1.30.0000.00817.58
8.1.20.0000.00817.43
8.1.10.0000.00817.40
8.1.00.0040.00417.27
8.0.300.0000.00719.42
8.0.290.0040.00416.58
8.0.280.0070.00018.23
8.0.270.0070.00017.03
8.0.260.0000.00716.68
8.0.250.0030.00316.84
8.0.240.0030.00316.75
8.0.230.0040.00316.78
8.0.220.0040.00416.75
8.0.210.0000.00716.69
8.0.200.0030.00316.80
8.0.190.0030.00616.81
8.0.180.0070.00016.67
8.0.170.0070.00016.80
8.0.160.0000.00716.67
8.0.150.0040.00416.71
8.0.140.0000.00716.70
8.0.130.0030.00313.27
8.0.120.0050.00316.75
8.0.110.0000.00716.79
8.0.100.0070.00016.58
8.0.90.0040.00416.82
8.0.80.0040.01216.76
8.0.70.0000.00716.71
8.0.60.0050.00216.72
8.0.50.0040.00416.54
8.0.30.0080.00917.03
8.0.20.0120.00717.40
8.0.10.0030.00516.95
8.0.00.0130.00316.53
7.4.330.0000.00415.55
7.4.320.0000.00716.47
7.4.300.0030.00316.36
7.4.290.0090.00016.48
7.4.280.0000.00816.32
7.4.270.0000.00816.51
7.4.260.0000.00813.13
7.4.250.0030.00316.36
7.4.240.0070.00016.37
7.4.230.0000.00716.54
7.4.220.0060.01316.54
7.4.210.0050.01216.43
7.4.200.0040.00416.35
7.4.160.0070.00916.34
7.4.150.0060.01217.40
7.4.140.0100.00717.86
7.4.130.0060.01216.29
7.4.120.0100.01016.37
7.4.110.0130.00316.30
7.4.100.0110.00816.52
7.4.90.0100.00716.18
7.4.80.0030.01419.39
7.4.70.0100.00616.46
7.4.60.0080.00816.16
7.4.50.0100.00616.20
7.4.40.0140.00316.54
7.4.30.0120.00316.23
7.4.00.0070.00915.07
7.3.330.0030.00313.24
7.3.320.0000.00513.12
7.3.310.0030.00316.24
7.3.300.0000.00716.11
7.3.290.0000.00716.09
7.3.280.0060.00916.20
7.3.270.0070.01017.40
7.3.260.0050.01316.21
7.3.250.0090.01116.31
7.3.240.0090.00816.21
7.3.230.0120.00616.39
7.3.210.0120.00316.21
7.3.200.0130.00316.26
7.3.190.0080.00816.46
7.3.180.0060.00916.29
7.3.170.0100.01016.32
7.3.160.0100.00716.32
7.3.120.0120.00314.80
7.3.110.0060.01214.82
7.3.100.0090.00614.53
7.3.90.0130.00614.41
7.3.80.0030.01214.64
7.3.70.0040.01114.40
7.3.60.0080.00014.49
7.3.50.0070.00714.44
7.3.40.0070.00714.53
7.3.30.0040.00414.39
7.3.20.0000.01316.34
7.3.10.0030.01016.66
7.3.00.0030.01016.54
7.2.330.0000.01816.53
7.2.320.0150.00416.24
7.2.310.0130.01016.35
7.2.300.0040.01216.30
7.2.290.0060.01116.44
7.2.250.0110.00614.78
7.2.240.0080.00614.50
7.2.230.0000.01714.71
7.2.220.0120.00314.69
7.2.210.0070.01014.83
7.2.200.0090.00614.72
7.2.190.0000.01014.60
7.2.180.0030.01314.85
7.2.170.0030.00714.87
7.2.60.0830.00814.57
7.2.00.0000.01219.38
7.1.330.0110.00415.44
7.1.320.0110.00315.65
7.1.310.0120.00315.69
7.1.300.0060.00615.59
7.1.290.0130.00315.46
7.1.280.0040.00715.53
7.1.270.0030.00615.69
7.1.260.0070.00415.62
7.1.200.0160.00715.36
7.1.100.0080.00318.02
7.1.70.0000.00716.94
7.1.60.0370.02733.07
7.1.50.0670.00732.96
7.1.40.0500.01732.49
7.1.30.0670.01332.52
7.1.20.0600.01332.66
7.1.10.0370.00714.47
7.1.00.0300.01014.83
7.0.200.0530.01014.88
7.0.190.0500.01314.60
7.0.180.0300.01714.25
7.0.170.0370.00314.00
7.0.160.0500.01314.29
7.0.150.1130.01314.25
7.0.140.0230.01714.48
7.0.130.0400.00714.55
7.0.120.0300.01714.56
7.0.110.0300.00714.46
7.0.100.0400.01314.19
7.0.90.0330.00714.20
7.0.80.0300.01314.52
7.0.70.0370.00714.29
7.0.60.0570.01014.13
7.0.50.0400.01014.52
7.0.40.0430.01314.44
7.0.30.0470.01014.55
7.0.20.0470.01714.53
7.0.10.0470.01714.35
7.0.00.0500.01314.39

preferences:
54.14 ms | 401 KiB | 5 Q