3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function doFoo(string $s = null, string ...$j) { } } class Bar extends Foo { public function doFoo() { } }

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.0190.00418.30
8.3.60.0100.00516.75
8.3.50.0150.00718.23
8.3.40.0070.00718.66
8.3.30.0140.00418.58
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0030.00626.16
8.2.190.0120.00316.58
8.2.180.0090.00625.92
8.2.170.0140.00318.79
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0070.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00426.35
8.2.110.0030.00722.31
8.2.100.0040.00817.50
8.2.90.0040.00417.38
8.2.80.0080.00018.61
8.2.70.0090.00017.38
8.2.60.0040.00417.38
8.2.50.0000.00818.05
8.2.40.0080.00019.76
8.2.30.0000.00717.97
8.2.20.0000.00717.90
8.2.10.0050.00219.13
8.2.00.0040.00419.21
8.1.280.0070.01025.92
8.1.270.0040.00723.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.88
8.1.230.0000.01117.42
8.1.220.0040.00418.43
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0090.00017.00
8.1.180.0030.00518.10
8.1.170.0080.00018.41
8.1.160.0040.00418.66
8.1.150.0000.00818.77
8.1.140.0030.00318.63
8.1.130.0000.00720.07
8.1.120.0030.00317.20
8.1.110.0080.00017.30
8.1.100.0060.00317.23
8.1.90.0040.00417.22
8.1.80.0050.00317.32
8.1.70.0070.00017.34
8.1.60.0000.00817.40
8.1.50.0040.00417.32
8.1.40.0050.00317.41
8.1.30.0000.00917.54
8.1.20.0050.00317.38
8.1.10.0000.00717.28
8.1.00.0040.00417.32
8.0.300.0000.00818.77
8.0.290.0080.00016.63
8.0.280.0000.00718.24
8.0.270.0040.00417.81
8.0.260.0030.00318.37
8.0.250.0060.00316.92
8.0.240.0060.00316.77
8.0.230.0030.00316.90
8.0.220.0000.00716.83
8.0.210.0000.00716.82
8.0.200.0000.00816.85
8.0.190.0040.00416.90
8.0.180.0040.00416.72
8.0.170.0030.00516.84
8.0.160.0000.00716.76
8.0.150.0030.00516.64
8.0.140.0000.00716.77
8.0.130.0030.00313.24
8.0.120.0030.00616.80
8.0.110.0000.00716.72
8.0.100.0000.00816.71
8.0.90.0030.00616.70
8.0.80.0100.00816.75
8.0.70.0050.00316.85
8.0.60.0000.00716.73
8.0.50.0040.00416.66
8.0.30.0070.01116.90
8.0.20.0180.00717.17
8.0.10.0040.00416.91
8.0.00.0240.00016.65
7.4.330.0000.00515.55
7.4.320.0030.00316.22
7.4.300.0000.00616.37
7.4.290.0030.00316.48
7.4.280.0070.00016.37
7.4.270.0060.00016.29
7.4.260.0030.00313.15
7.4.250.0030.00316.19
7.4.240.0000.00716.42
7.4.230.0000.00816.30
7.4.220.0060.00216.49
7.4.210.0080.00716.39
7.4.200.0040.00416.41
7.4.130.0160.00316.34
7.4.120.0120.00916.40
7.4.110.0080.01216.37
7.4.100.0070.01016.23
7.4.90.0060.01216.24
7.4.80.0100.00919.39
7.4.70.0060.01016.27
7.4.60.0050.01016.41
7.4.50.0050.01316.43
7.4.40.0140.00516.30
7.4.30.0080.00816.31
7.4.20.0120.00316.39
7.4.10.0100.00616.37
7.4.00.0060.01116.43
7.3.330.0000.00616.08
7.3.320.0060.00013.20
7.3.310.0060.00016.18
7.3.300.0060.00016.19
7.3.290.0050.00916.17
7.3.260.0100.00716.29
7.3.240.0100.00816.32
7.3.230.0070.01016.43
7.3.210.0140.00316.29
7.3.200.0030.01316.25
7.3.190.0090.01416.34
7.3.180.0120.00316.22
7.3.170.0090.00816.22
7.3.160.0090.00616.33
7.3.150.0070.01116.24
7.3.140.0050.01116.39
7.3.130.0080.00816.30
7.3.120.0040.01216.28
7.3.110.0110.00416.37
7.3.100.0010.01316.21
7.3.90.0100.00616.31
7.3.80.0070.01016.28
7.3.70.0100.00616.17
7.3.60.0070.01116.19
7.3.50.0100.00616.19
7.3.40.0080.00716.28
7.3.30.0080.00816.26
7.3.20.0090.00916.26
7.3.10.0100.00716.23
7.3.00.0200.00716.32
7.2.330.0170.00016.31
7.2.310.0050.01216.44
7.2.300.0110.00616.16
7.2.290.0110.00516.39
7.2.280.0100.00616.40
7.2.270.0080.00816.34
7.2.260.0090.00816.41
7.2.250.0100.00516.35
7.2.240.0060.01016.22
7.2.230.0130.00316.35
7.2.220.0080.00916.36
7.2.210.0070.01116.44
7.2.200.0090.00916.33
7.2.190.0070.01016.36
7.2.180.0060.00916.38
7.2.170.0080.00916.32
7.2.160.0080.01016.45
7.2.150.0090.00916.51
7.2.140.0150.00316.32
7.2.130.0090.00816.45
7.2.120.0050.01216.34
7.2.110.0110.01016.31
7.2.100.0080.00816.35
7.2.90.0070.00916.50
7.2.80.0070.01016.30
7.2.70.0100.00716.41
7.2.60.0060.01116.41
7.2.50.0060.01216.43
7.2.40.0060.01116.32
7.2.30.0050.01116.44
7.2.20.0090.00916.47
7.2.10.0100.00916.42
7.2.00.0170.00016.46

preferences:
46.56 ms | 401 KiB | 5 Q