3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(...$vargs) { var_dump($vargs); } foo(1); foo(vargs: 2); foo(vargs: 3, someothername: 4); foo(a: 5, b: 6, c: 7);

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.5.30.0120.00518.02
8.5.20.0090.00920.38
8.5.10.0150.00816.63
8.5.00.0140.00919.67
8.4.180.0140.00719.75
8.4.170.0110.01221.94
8.4.160.0080.01421.95
8.4.150.0070.00516.90
8.4.140.0100.01017.43
8.4.130.0110.00818.02
8.4.120.0150.00522.41
8.4.110.0060.00318.91
8.4.100.0140.00617.52
8.4.90.0160.00417.59
8.4.80.0080.00819.33
8.4.70.0380.01017.34
8.4.60.0370.01017.25
8.4.50.0400.00617.44
8.4.40.0440.01017.05
8.4.30.0370.01017.29
8.4.20.0420.01117.21
8.4.10.0450.00717.22
8.3.300.0110.01020.70
8.3.290.0150.00720.88
8.3.280.0110.00918.19
8.3.270.0110.00916.36
8.3.260.0070.01316.52
8.3.250.0140.00518.73
8.3.240.0160.00316.50
8.3.230.0130.00716.53
8.3.220.0090.01116.56
8.3.210.0410.00816.30
8.3.200.0390.00816.48
8.3.190.0410.00616.52
8.3.180.0380.00816.31
8.3.170.0370.00716.57
8.3.160.0390.01016.48
8.3.150.0330.00916.45
8.3.140.0370.00816.56
8.3.130.0370.00416.34
8.3.120.0330.00816.52
8.3.110.0340.00916.35
8.3.100.0330.01116.57
8.3.90.0420.00516.20
8.3.80.0380.01016.30
8.3.70.0380.00916.20
8.3.60.0380.00916.49
8.3.50.0380.01016.34
8.3.40.0390.00817.50
8.3.30.0270.00417.26
8.3.20.0320.00517.44
8.3.10.0300.00817.23
8.3.00.0160.00717.42
8.2.300.0100.01020.38
8.2.290.0120.00518.97
8.2.280.0270.01016.55
8.2.270.0350.00616.29
8.2.260.0350.00816.20
8.2.250.0320.00616.39
8.2.240.0320.01116.56
8.2.230.0370.00216.43
8.2.220.0340.01016.50
8.2.210.0320.00716.48
8.2.200.0350.00816.36
8.2.190.0280.01416.51
8.2.180.0290.00716.46
8.2.170.0190.00717.49
8.2.160.0140.00517.54
8.2.150.0140.00517.36
8.2.140.0310.00817.33
8.2.130.0290.01117.47
8.2.120.0370.00517.44
8.2.110.0310.00517.50
8.2.100.0280.01217.44
8.2.90.0340.00917.48
8.2.80.0320.00817.41
8.2.70.0360.00517.57
8.2.60.0290.00717.55
8.2.50.0300.00717.25
8.2.40.0250.00917.46
8.2.30.0340.01017.38
8.2.20.0280.01217.56
8.2.10.0280.00817.36
8.2.00.0290.00817.08
8.1.340.0130.01220.18

preferences:
49.37 ms | 858 KiB | 5 Q