3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(?int $a = null, int $bar): 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.0100.01023.96
8.4.110.0120.00722.30
8.4.100.0110.00318.46
8.4.90.0140.00618.70
8.4.80.0060.00320.14
8.4.70.0060.01219.99
8.4.60.0050.00518.86
8.4.50.0100.01118.27
8.4.40.0040.00417.78
8.4.30.0060.00320.56
8.4.20.0140.00719.64
8.4.10.0080.00019.52
8.3.250.0050.00318.80
8.3.240.0080.00320.72
8.3.230.0080.01016.48
8.3.220.0150.00419.05
8.3.210.0060.00918.41
8.3.200.0050.00416.52
8.3.190.0090.00616.99
8.3.180.0080.00818.85
8.3.170.0120.00620.61
8.3.160.0140.00417.00
8.3.150.0040.00417.18
8.3.140.0060.00316.54
8.3.130.0040.00418.42
8.3.120.0090.00018.96
8.3.110.0030.00516.51
8.3.100.0060.00316.63
8.3.90.0160.00326.77
8.3.80.0070.00318.55
8.3.70.0130.00318.43
8.3.60.0120.00316.64
8.3.50.0060.00916.32
8.3.40.0070.00723.79
8.3.30.0150.00722.96
8.3.20.0110.00922.96
8.3.10.0090.00922.96
8.3.00.0070.01222.96
8.2.290.0110.00820.34
8.2.280.0130.00718.53
8.2.270.0060.01218.56
8.2.260.0040.00418.52
8.2.250.0000.00816.43
8.2.240.0090.00618.12
8.2.230.0030.00620.94
8.2.220.0080.00024.06
8.2.210.0080.00026.77
8.2.200.0050.00518.16
8.2.190.0070.01018.29
8.2.180.0070.01416.50
8.2.170.0110.01222.96
8.2.160.0070.01122.96
8.2.150.0080.00722.96
8.2.140.0090.00922.96
8.2.130.0090.00722.96
8.2.120.0080.00622.96
8.2.110.0090.00722.96
8.2.100.0100.00522.96
8.2.90.0070.00822.96
8.2.80.0080.00822.96
8.2.70.0100.00522.96
8.2.60.0070.00922.96
8.2.50.0080.00722.96
8.2.40.0100.00522.96
8.2.30.0120.00322.96
8.2.20.0040.01222.96
8.2.10.0100.00622.96
8.2.00.0100.00522.96
8.1.330.0110.00821.68
8.1.320.0090.01115.90
8.1.310.0080.00018.40
8.1.300.0080.00017.94
8.1.290.0040.00430.84
8.1.280.0100.00325.92
8.1.270.0120.00322.96
8.1.260.0050.01022.96
8.1.250.0090.00622.96
8.1.240.0110.00422.96
8.1.230.0100.00522.96
8.1.220.0060.00922.96
8.1.210.0100.00522.96
8.1.200.0080.00722.96
8.1.190.0120.00222.96
8.1.180.0050.01022.96
8.1.170.0070.00722.96
8.1.160.0100.00422.96
8.1.150.0070.00722.96
8.1.140.0060.00922.96
8.1.130.0090.00622.96
8.1.120.0110.00522.96
8.1.110.0090.00722.96
8.1.100.0060.01122.96
8.1.90.0080.00922.96
8.1.80.0070.00922.96
8.1.70.0090.00722.96
8.1.60.0110.00622.96
8.1.50.0110.00622.96
8.1.40.0090.00822.96
8.1.30.0110.00622.96
8.1.20.0080.00822.96
8.1.10.0140.00322.96
8.1.00.0090.00722.96

preferences:
28.32 ms | 403 KiB | 5 Q