3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo($a, ...$arg /* = [] */) { var_dump($arg); // array() } foo(1); ?>

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.90.0140.00316.73
8.5.80.0100.00516.75
8.5.70.0050.00518.49
8.5.60.0120.00616.79
8.5.50.0110.00716.73
8.5.30.0100.00719.80
8.5.20.0020.00819.35
8.5.10.0090.01016.59
8.5.00.0170.00619.65
8.4.240.0050.00619.55
8.4.230.0140.00622.05
8.4.220.0110.01119.52
8.4.210.0060.00519.61
8.4.180.0100.01120.58
8.4.170.0150.00623.84
8.4.160.0100.01123.90
8.4.150.0070.00616.81
8.4.140.0140.00817.40
8.4.130.0150.00517.63
8.4.120.0100.00720.38
8.4.110.0140.00618.80
8.4.100.0080.00117.61
8.4.90.0100.01017.68
8.4.80.0090.01117.67
8.4.70.0150.00517.48
8.4.60.0060.00317.79
8.4.50.0110.00719.25
8.4.40.0400.01216.93
8.4.30.0300.01317.32
8.4.20.0400.00917.11
8.4.10.0300.00717.43
8.3.330.0090.00418.29
8.3.320.0120.00918.38
8.3.310.0100.01118.20
8.3.300.0100.01020.80
8.3.290.0140.00818.18
8.3.280.0070.00416.09
8.3.270.0100.01016.73
8.3.260.0120.00716.23
8.3.250.0130.00518.74
8.3.240.0150.00416.39
8.3.230.0120.00716.41
8.3.220.0040.00317.05
8.3.210.0130.00916.38
8.3.200.0120.00816.64
8.3.190.0100.00916.21
8.3.180.0140.00716.41
8.3.170.0070.00716.45
8.3.160.0210.00016.51
8.3.150.0210.00016.35
8.3.140.0260.00416.65
8.3.130.0210.00616.48
8.3.120.0270.01216.25
8.3.110.0320.01116.43
8.3.100.0320.00616.45
8.3.90.0290.00016.52
8.3.80.0360.00616.27
8.3.70.0390.00416.11
8.3.60.0280.00916.59
8.3.50.0390.00716.40
8.3.40.0270.01217.36
8.3.30.0270.00917.53
8.3.20.0290.00717.30
8.3.10.0240.01217.26
8.3.00.0110.01117.45
8.2.320.0120.00817.86
8.2.310.0100.00819.73
8.2.300.0120.00818.10
8.2.290.0090.01020.38
8.2.280.0090.00616.38
8.2.270.0340.00416.27
8.2.260.0360.00416.38
8.2.250.0340.00716.73
8.2.240.0290.01016.45
8.2.230.0320.00616.29
8.2.220.0290.01116.63
8.2.210.0320.00616.14
8.2.200.0250.01316.40
8.2.190.0320.00616.30
8.2.180.0290.00916.30
8.2.170.0240.01917.39
8.2.160.0230.01617.27
8.2.150.0310.00917.08
8.2.140.0330.00417.17
8.2.130.0370.00416.88
8.2.120.0320.00917.43
8.2.110.0280.01417.34
8.2.100.0380.00717.30
8.2.90.0380.00417.27
8.2.80.0350.00517.31
8.2.70.0330.00617.51
8.2.60.0280.01117.32
8.2.50.0300.00617.45
8.2.40.0300.00717.38
8.2.30.0220.01417.52
8.2.20.0330.00317.24
8.2.10.0290.00417.27
8.2.00.0350.00017.11
8.1.340.0130.00817.46
8.1.320.0100.00815.98

preferences:
60.62 ms | 882 KiB | 5 Q