3v4l.org

run code in 300+ PHP versions simultaneously
<?php function call($validArg) {} call(...['validArg' => 1, 'invalid arg even as a literal' => 2]);

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.0050.00323.90
8.4.110.0040.00418.70
8.4.100.0100.00917.59
8.4.90.0110.01022.41
8.4.80.0120.00518.63
8.4.70.0140.00518.84
8.4.60.0100.01018.55
8.4.50.0140.00517.99
8.4.40.0130.00717.37
8.4.30.0100.00720.46
8.4.20.0130.00619.55
8.4.10.0070.01119.22
8.3.250.0100.00918.59
8.3.240.0100.00916.93
8.3.230.0120.00716.49
8.3.220.0140.00718.99
8.3.210.0080.01018.84
8.3.200.0110.00816.75
8.3.190.0020.00718.74
8.3.180.0070.00316.63
8.3.170.0100.00717.07
8.3.160.0130.00617.12
8.3.150.0030.00516.72
8.3.140.0120.00617.10
8.3.130.0030.00618.47
8.3.120.0040.01220.75
8.3.110.0160.00922.58
8.3.100.0410.00322.58
8.3.90.0390.00822.58
8.3.80.0300.01422.58
8.3.70.0410.00622.58
8.3.60.0440.00622.58
8.3.50.0430.00722.58
8.3.40.0380.00322.58
8.3.30.0340.00322.58
8.3.20.0310.00322.58
8.3.10.0300.00922.58
8.3.00.0200.00022.58
8.2.290.0120.00720.20
8.2.280.0110.00818.62
8.2.270.0130.00618.51
8.2.260.0120.00616.70
8.2.250.0160.00716.78
8.2.240.0050.00517.38
8.2.230.0380.00022.58
8.2.220.0270.01222.58
8.2.210.0330.00722.58
8.2.200.0290.01322.58
8.2.190.0300.00922.58
8.2.180.0320.00322.58
8.2.170.0370.00822.58
8.2.160.0280.01622.58
8.2.150.0300.01322.58
8.2.140.0260.01322.58
8.2.130.0370.00722.58
8.2.120.0380.00622.58
8.2.110.0340.01022.58
8.2.100.0340.01122.58
8.2.90.0440.00022.58
8.2.80.0400.00322.58
8.2.70.0240.01622.58
8.2.60.0350.01322.58
8.2.50.0440.00322.58
8.2.40.0410.00022.58
8.2.30.0300.01022.58
8.2.20.0380.00322.58
8.2.10.0370.00322.58
8.2.00.0340.00722.58
8.1.330.0070.01021.91
8.1.320.0130.00615.93
8.1.310.0000.00816.56
8.1.300.0030.00616.16
8.1.290.0380.00622.58
8.1.280.0380.00322.58
8.1.270.0240.01322.58
8.1.260.0400.00322.58
8.1.250.0300.00922.58
8.1.240.0260.01022.58
8.1.230.0280.00722.58
8.1.220.0250.01322.58
8.1.210.0350.00422.58
8.1.200.0330.00522.58
8.1.190.0440.01022.58
8.1.180.0430.00322.58
8.1.170.0320.00622.58
8.1.160.0220.00922.58
8.1.150.0280.00722.58
8.1.140.0290.01022.58
8.1.130.0300.00922.58
8.1.120.0310.00822.58
8.1.110.0190.01922.58
8.1.100.0200.01322.58
8.1.90.0280.01122.58
8.1.80.0230.01122.58
8.1.70.0290.00322.58
8.1.60.0320.00422.58
8.1.50.0320.00322.58
8.1.40.0340.00422.58
8.1.30.0240.01022.58
8.1.20.0290.00922.58
8.1.10.0350.00722.58
8.1.00.0390.00322.58

preferences:
26.23 ms | 403 KiB | 5 Q