3v4l.org

run code in 500+ PHP versions simultaneously
<?php class X { /** * @param int $nbToken * * @pslam-param int<1, max> $nbToken */ public function mark(string $place, /*, int, $nbToken = 1 */): void { $nbToken = 1 < \func_num_args() ? func_get_arg(1) : 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.0090.00916.58
8.5.80.0110.00616.73
8.5.70.0050.00316.56
8.5.60.0100.00616.36
8.5.50.0120.00516.30
8.5.30.0110.00519.68
8.5.20.0080.00920.17
8.5.10.0120.00716.41
8.5.00.0090.01221.45
8.4.240.0080.00219.35
8.4.230.0110.01019.40
8.4.220.0060.00619.35
8.4.210.0110.00919.55
8.4.180.0110.01019.44
8.4.170.0090.01223.82
8.4.160.0110.01023.47
8.4.150.0080.00516.72
8.4.140.0080.01217.30
8.4.130.0090.01217.75
8.4.120.0130.00720.58
8.4.110.0110.00918.79
8.4.100.0120.00917.72
8.4.90.0110.00917.76
8.4.80.0080.00922.65
8.4.70.0120.00817.63
8.4.60.0370.01117.32
8.4.50.0300.01017.36
8.4.40.0420.00817.34
8.4.30.0430.00617.15
8.4.20.0270.00317.52
8.4.10.0350.00717.05
8.3.330.0060.00618.11
8.3.320.0140.00618.22
8.3.310.0060.00320.09
8.3.300.0090.01119.16
8.3.290.0120.00820.71
8.3.280.0120.00818.12
8.3.270.0120.00716.62
8.3.260.0060.01016.21
8.3.250.0130.00618.71
8.3.240.0100.01016.67
8.3.230.0100.00816.34
8.3.220.0070.01016.97
8.3.210.0030.00616.55
8.3.200.0340.01016.39
8.3.190.0340.00916.67
8.3.180.0320.00916.44
8.3.170.0410.00816.21
8.3.160.0320.01116.24
8.3.150.0380.01116.30
8.3.140.0370.00516.24
8.3.130.0260.01016.45
8.3.120.0500.00616.17
8.3.110.0360.01116.14
8.3.100.0350.01216.42
8.3.90.0350.01116.24
8.3.80.0360.00816.32
8.3.70.0390.00716.68
8.3.60.0380.00916.23
8.3.50.0410.01216.40
8.3.40.0360.01317.29
8.3.30.0370.00317.26
8.3.20.0300.00717.13
8.3.10.0300.00717.56
8.3.00.0230.00817.41
8.2.320.0110.00818.01
8.2.310.0110.00917.98
8.2.300.0120.00818.61
8.2.290.0140.00520.42
8.2.280.0280.00716.71
8.2.270.0310.00716.42
8.2.260.0330.00616.14
8.2.250.0270.01316.50
8.2.240.0240.00516.38
8.2.230.0140.00316.38
8.2.220.0190.00316.14
8.2.210.0170.00716.38
8.2.200.0250.00816.26
8.2.190.0310.00816.28
8.2.180.0320.00716.23
8.2.170.0350.00817.61
8.2.160.0320.00917.63
8.2.150.0390.00317.44
8.2.140.0370.00717.08
8.2.130.0360.00717.43
8.2.120.0310.00617.34
8.2.110.0430.00717.54
8.2.100.0330.01017.58
8.2.90.0300.01217.39
8.2.80.0320.00917.45
8.2.70.0290.00717.52
8.2.60.0280.01017.11
8.2.50.0370.00517.56
8.2.40.0280.01017.36
8.2.30.0360.01017.22
8.2.20.0310.00817.30
8.2.10.0280.00817.27
8.2.00.0200.00517.44
8.1.340.0140.00621.48

preferences:
74.37 ms | 875 KiB | 5 Q