3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function setValue($value): void { } } class Bar extends Foo { public function setValue(mixed $value): void { } }

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.4.120.0120.00719.26
8.4.110.0110.00617.60
8.4.100.0110.00917.40
8.4.90.0130.00820.54
8.4.80.0090.01018.82
8.4.70.0060.00517.88
8.4.60.0160.00418.67
8.4.50.0100.01017.40
8.4.40.0170.00320.55
8.4.30.0090.00620.30
8.4.20.0190.00017.70
8.4.10.0100.01021.89
8.3.250.0100.00918.10
8.3.240.0120.00716.34
8.3.230.0070.00316.37
8.3.220.0040.00418.81
8.3.210.0070.00816.66
8.3.200.0070.00416.68
8.3.190.0110.00716.89
8.3.180.0090.00918.61
8.3.170.0140.00416.48
8.3.160.0060.01218.28
8.3.150.0140.00418.13
8.3.140.0040.00416.55
8.3.130.0080.00018.40
8.3.120.0090.00020.70
8.3.110.0080.00016.66
8.3.100.0080.00018.31
8.3.90.0070.00026.77
8.3.80.0060.00316.38
8.3.70.0110.00416.58
8.3.60.0090.00618.18
8.3.50.0030.01420.18
8.3.40.0070.00722.23
8.3.30.0110.00418.34
8.3.20.0070.00024.18
8.3.10.0000.00724.66
8.3.00.0070.00726.16
8.2.290.0040.00616.48
8.2.280.0060.00418.37
8.2.270.0120.00618.93
8.2.260.0040.01116.33
8.2.250.0050.00318.16
8.2.240.0000.00916.67
8.2.230.0040.00420.94
8.2.220.0070.00024.06
8.2.210.0040.00426.77
8.2.200.0040.00418.04
8.2.190.0070.00716.58
8.2.180.0110.00425.92
8.2.170.0120.00618.71
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.08
8.2.110.0060.00321.99
8.2.100.0120.00017.78
8.2.90.0000.00817.50
8.2.80.0030.00518.67
8.2.70.0090.00017.50
8.2.60.0040.00417.38
8.2.50.0000.00818.05
8.2.40.0000.00919.82
8.2.30.0070.00017.92
8.2.20.0040.00419.22
8.2.10.0040.00417.83
8.2.00.0050.00519.12
8.1.330.0110.00916.05
8.1.320.0070.00315.91
8.1.310.0090.00918.25
8.1.300.0040.00417.88
8.1.290.0090.00030.84
8.1.280.0120.00325.92
8.1.270.0070.00024.66
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0030.00723.77
8.1.230.0040.00719.06
8.1.220.0070.00018.39
8.1.210.0080.00018.77
8.1.200.0080.00017.11
8.1.190.0030.00617.09
8.1.180.0050.00318.10
8.1.170.0030.00617.62
8.1.160.0000.00719.05
8.1.150.0040.00418.38
8.1.140.0040.00417.24
8.1.130.0040.00418.66
8.1.120.0030.00317.32
8.1.110.0040.00417.22
8.1.100.0040.00317.23
8.1.90.0040.00717.27
8.1.80.0110.00417.20
8.1.70.0120.00417.27
8.1.60.0180.00017.28
8.1.50.0150.00317.34
8.1.40.0160.00317.38
8.1.30.0080.00817.45
8.1.20.0110.00717.29
8.1.10.0120.00617.36
8.1.00.0000.01217.30
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0000.00818.30
8.0.270.0000.00716.73
8.0.260.0030.00318.32
8.0.250.0030.00316.73
8.0.240.0000.00716.84
8.0.230.0080.00016.78
8.0.220.0070.00716.70
8.0.210.0080.00516.71
8.0.200.0070.00716.76
8.0.190.0150.00016.72
8.0.180.0150.00016.73
8.0.170.0100.00316.73
8.0.160.0050.01016.71
8.0.150.0100.00516.70
8.0.140.0140.00016.56
8.0.130.0100.00516.59
8.0.120.0120.00416.74
8.0.110.0040.01116.63
8.0.100.0130.00316.59
8.0.90.0150.00016.69
8.0.80.0090.00616.66
8.0.70.0090.00516.67
8.0.60.0080.00616.76
8.0.50.0140.00216.54
8.0.30.0070.00716.70
8.0.20.0090.00616.68
8.0.10.0080.00816.77
7.4.330.0050.00015.55
7.4.320.0030.00316.31
7.4.300.0100.00316.34
7.4.290.0130.00616.36
7.4.280.0100.00516.35
7.4.270.0140.00216.25
7.4.260.0090.00616.29
7.4.250.0100.00716.33
7.4.240.0070.01116.44
7.4.230.0000.01116.39
7.4.220.0090.00416.44
7.4.210.0100.00416.44
7.4.200.0050.01016.38
7.4.190.0100.00316.45
7.4.180.0070.00716.39
7.4.160.0120.00416.40
7.4.150.0060.00916.23
7.4.140.0090.00616.36
7.4.130.0100.00516.24
7.4.120.0000.01316.10
7.4.110.0090.00416.27
7.4.100.0090.00516.19
7.4.90.0090.00316.36
7.4.80.0130.00016.23
7.4.70.0030.00616.05
7.4.60.0100.00016.12
7.4.50.0090.00316.15
7.4.40.0060.00616.22
7.4.30.0070.00516.11
7.4.20.0070.00216.23
7.4.10.0060.00316.07
7.4.00.0060.00616.17

preferences:
98.7 ms | 403 KiB | 5 Q