3v4l.org

run code in 500+ PHP versions simultaneously
<?php $hash = ['a' => 1, 'b' => 2]; print_r(array_map(function($v, $k) { return "$k: $v";}, $hash, array_keys($hash) )); ?>

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.60.0070.00616.83
8.5.50.0060.01016.53
8.5.30.0090.00817.96
8.5.20.0060.01020.08
8.5.10.0120.00616.65
8.5.00.0120.00919.93
8.4.210.0110.01021.29
8.4.180.0120.00919.65
8.4.170.0100.01222.02
8.4.160.0060.00522.09
8.4.150.0100.00316.87
8.4.140.0150.00617.31
8.4.130.0090.00917.47
8.4.120.0110.00920.71
8.4.110.0100.01122.58
8.4.100.0100.01017.69
8.4.90.0180.00317.58
8.4.80.0110.00519.55
8.4.70.0400.00617.85
8.4.60.0300.00817.57
8.4.50.0390.00617.71
8.4.40.0410.01317.36
8.4.30.0380.01117.55
8.4.20.0400.00917.28
8.4.10.0400.00517.27
8.3.300.0130.00620.67
8.3.290.0180.00320.68
8.3.280.0120.00818.31
8.3.270.0080.01116.49
8.3.260.0120.00716.61
8.3.250.0110.00819.14
8.3.240.0140.00516.45
8.3.230.0140.00716.67
8.3.220.0120.00616.62
8.3.210.0340.00916.43
8.3.200.0360.00616.44
8.3.190.0220.00416.35
8.3.180.0380.00516.75
8.3.170.0340.00916.47
8.3.160.0280.01616.45
8.3.150.0430.00816.20
8.3.140.0440.01116.46
8.3.130.0240.01116.36
8.3.120.0270.00916.48
8.3.110.0250.00816.20
8.3.100.0300.01116.61
8.3.90.0350.01016.58
8.3.80.0420.00716.35
8.3.70.0350.01116.20
8.3.60.0340.01316.50
8.3.50.0350.01216.38
8.3.40.0410.00617.32
8.3.30.0350.00617.54
8.3.20.0320.01117.36
8.3.10.0310.00917.18
8.3.00.0150.01217.30
8.2.300.0100.01020.33
8.2.290.0090.01020.45
8.2.280.0270.01216.20
8.2.270.0320.00816.44
8.2.260.0340.00616.20
8.2.250.0360.00716.41
8.2.240.0370.00616.48
8.2.230.0270.00916.25
8.2.220.0340.00616.64
8.2.210.0300.00916.22
8.2.200.0280.01016.52
8.2.190.0320.00916.22
8.2.180.0320.00816.22
8.2.170.0290.01417.39
8.2.160.0380.00517.57
8.2.150.0340.01017.49
8.2.140.0340.00917.40
8.2.130.0320.00717.48
8.2.120.0340.00717.43
8.2.110.0340.00917.54
8.2.100.0290.01217.59
8.2.90.0290.01017.68
8.2.80.0320.00417.55
8.2.70.0260.01117.52
8.2.60.0300.00717.45
8.2.50.0360.01417.45
8.2.40.0190.00517.75
8.2.30.0170.00317.55
8.2.20.0280.00317.37
8.2.10.0330.00517.45
8.2.00.0330.00917.54
8.1.340.0130.00720.04

preferences:
34.89 ms | 849 KiB | 5 Q