3v4l.org

run code in 500+ PHP versions simultaneously
<?php class BaseBulder { public function updateBatch(?array $set = null, ?string $index = null, int $batchSize = 100, ?bool $escape = null) {} } class MyBaseBulder extends BaseBulder { public function updateBatch(?array $set = null, ?string $index = null, int $batchSize = 100) {} }

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.3.50.0120.00816.81
8.1.70.0040.00717.26
8.1.60.0100.00617.41
8.1.50.0120.00617.29
8.1.40.0100.00517.34
8.1.30.0140.00417.39
8.1.20.0060.01117.38
8.1.10.0140.00417.36
8.1.00.0110.00717.20
8.0.200.0110.00516.74
8.0.190.0110.00316.82
8.0.180.0090.00616.72
8.0.170.0050.00916.84
8.0.160.0100.00716.82
8.0.150.0040.01116.84
8.0.140.0110.00416.74
8.0.130.0080.00816.70
8.0.120.0150.00016.73
8.0.110.0080.00616.73
8.0.100.0090.00616.68
8.0.90.0130.00016.80
8.0.80.0120.00316.71
8.0.70.0060.01216.85
8.0.60.0170.00016.75
8.0.50.0200.00016.72
8.0.30.0030.00616.66
8.0.20.0050.00516.80
8.0.10.0000.01216.82
7.4.300.0090.00316.20
7.4.290.0180.00016.45
7.4.280.0070.00416.47
7.4.270.0070.00416.34
7.4.260.0110.00816.33
7.4.250.0190.00016.30
7.4.240.0140.00316.39
7.4.230.0110.00516.43
7.4.220.0000.01316.39
7.4.210.0070.00516.36
7.4.200.0050.00516.33
7.4.190.0060.00316.54
7.4.180.0130.00016.35
7.4.160.0170.00016.38
7.4.150.0090.00316.36
7.4.140.0130.00016.32
7.4.130.0150.00016.19
7.4.120.0140.00216.18
7.4.110.0040.00916.11
7.4.100.0080.00816.43
7.4.90.0110.00015.96
7.4.80.0050.00916.31
7.4.70.0150.00016.14
7.4.60.0090.00616.15
7.4.50.0070.00716.18
7.4.40.0100.00516.06
7.4.30.0070.00716.15
7.4.20.0100.00416.17
7.4.10.0140.00016.11
7.4.00.0100.00316.10

preferences:
51.33 ms | 736 KiB | 4 Q