3v4l.org

run code in 300+ PHP versions simultaneously
<?php function clientFetch(?int $mode = NULL, ?int $cursorOrientation = NULL, ?int $cursorOffset = NULL) { print func_num_args(); print "\n"; } clientFetch(); clientFetch(1); clientFetch(1, 2); clientFetch(1, 2 ,3); clientFetch(1, 2 ,3, 4);

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.10.0080.01016.51
8.5.00.0090.01319.94
8.4.150.0010.00114.05
8.4.140.0160.01017.70
8.4.130.0130.00817.57
8.4.120.0080.00320.24
8.4.110.0130.00718.80
8.4.100.0100.01217.61
8.4.90.0100.01117.43
8.4.80.0150.00517.66
8.4.70.0110.00917.88
8.4.60.0120.00917.65
8.4.50.0140.00520.70
8.4.40.0170.00318.86
8.4.30.0090.00918.99
8.4.20.0100.01021.17
8.4.10.0130.00319.52
8.3.280.0020.00014.05
8.3.270.0110.00816.55
8.3.260.0100.00616.49
8.3.250.0130.00617.26
8.3.240.0060.01316.66
8.3.230.0130.00816.54
8.3.220.0020.00617.05
8.3.210.0120.00716.27
8.3.200.0110.00816.46
8.3.190.0110.00517.10
8.3.180.0090.01018.92
8.3.170.0060.01317.29
8.3.160.0140.00320.63
8.3.150.0110.00716.93
8.3.140.0040.00416.64
8.3.130.0290.01018.46
8.3.120.0190.00916.31
8.3.110.0300.00016.74
8.3.100.0350.00616.41
8.3.90.0350.01016.58
8.3.80.0270.00016.21
8.3.70.0300.00316.63
8.3.60.0170.00416.45
8.3.50.0170.00416.24
8.3.40.0170.00017.24
8.3.30.0050.01117.18
8.3.20.0090.00917.18
8.3.10.0120.00417.23
8.3.00.0110.00017.19
8.2.290.0120.00618.80
8.2.280.0080.00816.65
8.2.270.0160.00316.45
8.2.260.0060.00316.95
8.2.250.0070.01116.31
8.2.240.0130.00416.27
8.2.230.0210.00016.33
8.2.220.0140.00516.24
8.2.210.0180.00016.51
8.2.200.0190.00016.21
8.2.190.0190.00416.21
8.2.180.0260.00716.39
8.2.170.0320.00317.55
8.2.160.0270.01317.59
8.2.150.0250.00717.31
8.2.140.0190.01417.21
8.2.130.0290.00617.43
8.2.120.0370.00417.32
8.2.110.0350.00417.21
8.2.100.0400.00017.31
8.2.90.0300.00417.57
8.2.80.0180.00717.35
8.2.70.0200.00417.43
8.2.60.0290.01017.33
8.2.50.0330.00717.34
8.2.40.0270.00917.55
8.2.30.0220.01517.59
8.2.20.0310.00617.57
8.2.10.0260.00717.34
8.2.00.0220.00717.32
8.1.330.0120.00715.98
8.1.320.0090.00817.63
8.1.310.0040.00416.54
8.1.300.0290.00616.21
8.1.290.0240.00716.21
8.1.280.0150.00616.21
8.1.270.0170.00417.24
8.1.260.0250.00317.36
8.1.250.0190.01317.13
8.1.240.0160.00017.08
8.1.230.0300.00716.93
8.1.220.0230.01317.26
8.1.210.0210.01017.05
8.1.200.0230.01216.95
8.1.190.0270.00817.00
8.1.180.0270.00917.08
8.1.170.0280.00717.07
8.1.160.0270.01017.34
8.1.150.0230.01317.20
8.1.140.0280.00817.10
8.1.130.0320.00417.06
8.1.120.0300.00517.32
8.1.110.0280.00717.20
8.1.100.0270.00917.22
8.1.90.0240.00817.27
8.1.80.0300.00517.16
8.1.70.0310.00917.08
8.1.60.0270.00717.40
8.1.50.0300.00717.06
8.1.40.0260.01216.96
8.1.30.0220.01817.30
8.1.20.0350.00417.38
8.1.10.0220.01816.92
8.1.00.0370.00616.75

preferences:
40.64 ms | 403 KiB | 5 Q