3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(int|null $a = null, $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.0110.00820.28
8.4.110.0060.00322.37
8.4.100.0130.00717.78
8.4.90.0090.01118.53
8.4.80.0120.00819.47
8.4.70.0110.00819.43
8.4.60.0100.01118.82
8.4.50.0120.00818.32
8.4.40.0160.00317.74
8.4.30.0160.00018.86
8.4.20.0060.00319.67
8.4.10.0060.00319.48
8.3.250.0150.00318.84
8.3.240.0040.00416.56
8.3.230.0150.00416.34
8.3.220.0100.00417.24
8.3.210.0160.00218.57
8.3.200.0060.00316.63
8.3.190.0120.00717.26
8.3.180.0100.00916.39
8.3.170.0160.00316.98
8.3.160.0120.00317.01
8.3.150.0120.00618.60
8.3.140.0080.00016.79
8.3.130.0040.00418.61
8.3.120.0030.00718.86
8.3.110.0080.00020.94
8.3.100.0040.01216.48
8.3.90.0080.00026.77
8.3.80.0080.00417.97
8.3.70.0090.00616.63
8.3.60.0130.00318.41
8.3.50.0060.00918.39
8.3.40.0170.00323.55
8.3.30.0120.00522.96
8.3.20.0070.00722.96
8.3.10.0070.00722.96
8.3.00.0110.00522.96
8.2.290.0040.00420.44
8.2.280.0080.01018.26
8.2.270.0110.00718.22
8.2.260.0110.00717.14
8.2.250.0070.00018.33
8.2.240.0060.00317.23
8.2.230.0060.00322.58
8.2.220.0100.01024.06
8.2.210.0080.00026.77
8.2.200.0040.00418.16
8.2.190.0060.00916.58
8.2.180.0090.00616.32
8.2.170.0080.00722.96
8.2.160.0090.00622.96
8.2.150.0080.00722.96
8.2.140.0110.00422.96
8.2.130.0090.00522.96
8.2.120.0080.00622.96
8.2.110.0100.00422.96
8.2.100.0080.00722.96
8.2.90.0080.00722.96
8.2.80.0070.00822.96
8.2.70.0080.00722.96
8.2.60.0040.01022.96
8.2.50.0130.00222.96
8.2.40.0110.00522.96
8.2.30.0140.00122.96
8.2.20.0050.01122.96
8.2.10.0100.00522.96
8.2.00.0090.00622.96
8.1.330.0100.00921.82
8.1.320.0090.01115.79
8.1.310.0000.00816.74
8.1.300.0160.00316.16
8.1.290.0030.00630.84
8.1.280.0140.00725.92
8.1.270.0110.00322.96
8.1.260.0120.00322.96
8.1.250.0080.00722.96
8.1.240.0080.00722.96
8.1.230.0100.00522.96
8.1.220.0110.00522.96
8.1.210.0090.00822.96
8.1.200.0080.00822.96
8.1.190.0080.00722.96
8.1.180.0120.00322.96
8.1.170.0110.00322.96
8.1.160.0100.00622.96
8.1.150.0100.00522.96
8.1.140.0100.00622.96
8.1.130.0080.00722.96
8.1.120.0140.00222.96
8.1.110.0060.00922.96
8.1.100.0090.00622.96
8.1.90.0090.00622.96
8.1.80.0100.00522.96
8.1.70.0090.00822.96
8.1.60.0120.00522.96
8.1.50.0090.00722.96
8.1.40.0080.00822.96
8.1.30.0080.00722.96
8.1.20.0100.00522.96
8.1.10.0070.00822.96
8.1.00.0070.00822.96

preferences:
19.83 ms | 403 KiB | 5 Q