3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($arg1, $arg2, $arg3) { var_dump($arg1, $arg2, $arg3); } test("1", "2", false); print "\n---\n"; $arr = ["1", "2", false]; test(...$arr);

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.00722.03
8.4.110.0150.00422.68
8.4.100.0060.00317.57
8.4.90.0120.00817.57
8.4.80.0160.00417.80
8.4.70.0090.01118.01
8.4.60.0140.00617.51
8.4.50.0130.00717.56
8.4.40.0160.00417.73
8.4.30.0190.00018.73
8.4.20.0100.01017.75
8.4.10.0160.00319.37
8.3.250.0120.00619.06
8.3.240.0090.00516.69
8.3.230.0090.01016.21
8.3.220.0100.00717.05
8.3.210.0140.00616.71
8.3.200.0150.00716.28
8.3.190.0090.00916.28
8.3.180.0120.00718.23
8.3.170.0000.01418.91
8.3.160.0090.00917.23
8.3.150.0140.00416.97
8.3.140.0040.01116.32
8.3.130.0060.00316.56
8.3.120.0070.00718.85
8.3.110.0100.00020.94
8.3.100.0090.00924.06
8.3.90.0110.00726.77
8.3.80.0040.00718.18
8.3.70.0060.01516.75
8.3.60.0090.00616.36
8.3.50.0110.00716.72
8.3.40.0040.01221.86
8.3.30.0150.00822.96
8.3.20.0090.00922.96
8.3.10.0160.00322.96
8.3.00.0130.00722.96
8.2.290.0130.00520.20
8.2.280.0120.00818.22
8.2.270.0130.00618.92
8.2.260.0100.00718.68
8.2.250.0070.00316.48
8.2.240.0030.00517.00
8.2.230.0080.00022.58
8.2.220.0060.00337.54
8.2.210.0080.00026.77
8.2.200.0090.00018.42
8.2.190.0080.00816.58
8.2.180.0110.00717.93
8.2.170.0120.00322.96
8.2.160.0100.01022.96
8.2.150.0110.00422.96
8.2.140.0090.00622.96
8.2.130.0200.00022.96
8.2.120.0040.01122.96
8.2.110.0090.01222.96
8.2.100.0130.00722.96
8.2.90.0070.01122.96
8.2.80.0100.01022.96
8.2.70.0070.00722.96
8.2.60.0130.00722.96
8.2.50.0090.00922.96
8.2.40.0000.01522.96
8.2.30.0130.00322.96
8.2.20.0070.01022.96
8.2.10.0090.00622.96
8.2.00.0140.00622.96
8.1.330.0080.01016.88
8.1.320.0100.00915.89
8.1.310.0100.01018.51
8.1.300.0140.00418.56
8.1.290.0070.00330.84
8.1.280.0160.00625.92
8.1.270.0130.00622.96
8.1.260.0130.00622.96
8.1.250.0080.01122.96
8.1.240.0140.00322.96
8.1.230.0100.00622.96
8.1.220.0150.00022.96
8.1.210.0120.00322.96
8.1.200.0070.00722.96
8.1.190.0110.00722.96
8.1.180.0090.00622.96
8.1.170.0150.00022.96
8.1.160.0070.00722.96
8.1.150.0100.00322.96
8.1.140.0100.00322.96
8.1.130.0070.00722.96
8.1.120.0040.01122.96
8.1.110.0000.01522.96
8.1.100.0110.00422.96
8.1.90.0080.00622.96
8.1.80.0110.00322.96
8.1.70.0100.00322.96
8.1.60.0070.00722.96
8.1.50.0080.00822.96
8.1.40.0110.00322.96
8.1.30.0080.00622.96
8.1.20.0060.00922.96
8.1.10.0140.00022.96
8.1.00.0150.00022.96

preferences:
17.43 ms | 403 KiB | 5 Q