3v4l.org

run code in 500+ PHP versions simultaneously
<?php $fn = function (...$args) { return array_sum($args); }; var_dump($fn(1, 2, 3));

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.80.0030.00416.80
8.5.70.0090.00716.65
8.5.60.0070.00716.76
8.5.50.0080.00716.71
8.5.30.0110.00718.14
8.5.20.0090.00920.20
8.5.10.0100.00816.82
8.5.00.0080.01422.91
8.4.230.0130.00919.46
8.4.220.0160.00519.52
8.4.210.0140.01121.33
8.4.180.0120.00820.54
8.4.170.0100.01123.77
8.4.160.0170.00422.93
8.4.150.0080.00517.75
8.4.140.0120.01217.58
8.4.130.0330.01017.49
8.4.120.0350.01217.18
8.4.110.0410.00917.30
8.4.100.0400.00617.60
8.4.90.0350.01117.26
8.4.80.0410.01217.64
8.4.70.0340.01117.61
8.4.60.0390.00917.43
8.4.50.0390.01117.32
8.4.40.0470.01017.30
8.4.30.0440.00717.29
8.4.20.0410.01217.68
8.4.10.0450.00417.27
8.3.320.0050.00518.41
8.3.310.0120.00818.44
8.3.300.0100.01118.97
8.3.290.0120.00918.29
8.3.280.0110.00818.18
8.3.270.0380.00816.45
8.3.260.0310.01316.23
8.3.250.0340.01016.26
8.3.240.0350.00916.18
8.3.230.0370.00816.54
8.3.220.0400.01016.44
8.3.210.0340.01016.29
8.3.200.0360.01116.49
8.3.190.0390.01016.15
8.3.180.0380.01216.35
8.3.170.0420.00416.23
8.3.160.0390.01016.50
8.3.150.0330.01316.32
8.3.140.0390.01116.45
8.3.130.0380.01116.50
8.3.120.0360.00916.43
8.3.110.0380.00716.38
8.3.100.0380.01116.26
8.3.90.0390.01416.62
8.3.80.0430.00716.44
8.3.70.0380.01116.12
8.3.60.0410.00916.35
8.3.50.0360.01416.45
8.3.40.0420.00917.20
8.3.30.0340.00717.10
8.3.20.0320.00817.30
8.3.10.0260.01317.38
8.3.00.0320.01017.34
8.2.320.0120.00718.15
8.2.310.0100.00918.06
8.2.300.0120.00918.11
8.2.290.0300.00816.31
8.2.280.0320.01016.26
8.2.270.0300.01216.66
8.2.260.0350.00716.38
8.2.250.0340.00616.41
8.2.240.0300.00916.50
8.2.230.0330.01016.20
8.2.220.0310.01116.28
8.2.210.0290.01016.16
8.2.200.0370.00716.30
8.2.190.0330.00916.14
8.2.180.0330.01116.51
8.2.170.0360.01317.42
8.2.160.0320.01017.42
8.2.150.0350.00617.41
8.2.140.0340.01117.18
8.2.130.0380.00917.21
8.2.120.0380.01017.37
8.2.110.0380.00817.57
8.2.100.0330.00917.36
8.2.90.0360.01117.29
8.2.80.0340.00617.35
8.2.70.0310.00917.33
8.2.60.0370.00817.47
8.2.50.0340.01217.39
8.2.40.0250.01117.29
8.2.30.0350.00517.41
8.2.20.0340.01017.26
8.2.10.0340.00817.45
8.2.00.0320.00917.39
8.1.340.0130.00817.54

preferences:
52.29 ms | 875 KiB | 5 Q