3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = ['name' => 'aalaap', 'age' => 29, 'location' => 'mumbai']; var_export( array_merge( ...array_map(null, array_keys($array), $array) ) );

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.70.0070.01016.55
8.5.60.0130.00616.76
8.5.50.0050.00216.48
8.5.30.0100.00718.11
8.5.20.0120.00520.18
8.5.10.0070.00316.52
8.5.00.0150.00719.86
8.4.210.0090.01019.41
8.4.180.0130.00819.55
8.4.170.0120.00923.93
8.4.160.0060.00423.76
8.4.150.0070.00516.81
8.4.140.0100.01017.36
8.4.130.0130.00817.90
8.4.120.0140.00720.62
8.4.110.0140.00620.74
8.4.100.0150.00517.29
8.4.90.0130.00717.57
8.4.80.0100.00622.57
8.4.70.0050.00317.43
8.4.60.0120.00920.55
8.4.50.0110.00920.19
8.4.40.0100.00017.27
8.4.30.0420.00417.38
8.4.20.0480.00017.38
8.4.10.0340.00617.38
8.3.300.0100.01020.82
8.3.290.0140.01020.87
8.3.280.0080.00418.18
8.3.270.0160.00516.26
8.3.260.0110.00916.61
8.3.250.0070.00318.54
8.3.240.0130.00616.45
8.3.230.0120.00816.21
8.3.220.0050.00217.05
8.3.210.0050.00416.34
8.3.200.0060.00316.69
8.3.190.0120.00516.99
8.3.180.0040.00420.50
8.3.170.0100.00316.96
8.3.160.0310.01016.14
8.3.150.0440.00316.45
8.3.140.0400.00416.35
8.3.130.0330.00316.37
8.3.120.0330.00916.25
8.3.110.0340.00616.54
8.3.100.0260.00416.02
8.3.90.0260.00016.63
8.3.80.0270.00816.28
8.3.70.0170.00416.45
8.3.60.0170.00316.50
8.3.50.0280.01216.21
8.3.40.0370.00317.20
8.3.30.0260.01117.20
8.3.20.0380.00317.03
8.3.10.0310.00617.37
8.3.00.0070.01417.27
8.2.300.0110.00917.80
8.2.290.0110.00720.51
8.2.280.0080.00518.26
8.2.270.0340.00316.45
8.2.260.0170.00816.28
8.2.250.0210.00616.46
8.2.240.0350.00416.47
8.2.230.0390.00316.52
8.2.220.0390.00316.42
8.2.210.0320.00616.14
8.2.200.0390.00016.20
8.2.190.0260.01116.41
8.2.180.0310.00716.54
8.2.170.0260.01017.66
8.2.160.0270.00417.53
8.2.150.0190.00617.55
8.2.140.0220.00317.55
8.2.130.0320.01117.14
8.2.120.0280.00916.85
8.2.110.0200.01017.02
8.2.100.0290.00417.11
8.2.90.0140.00417.33
8.2.80.0200.00617.17
8.2.70.0160.00516.93
8.2.60.0180.00017.24
8.2.50.0170.00017.30
8.2.40.0120.00517.39
8.2.30.0110.00616.98
8.2.20.0160.00017.35
8.2.10.0320.00017.07
8.2.00.0310.00317.20
8.1.340.0170.00817.55
8.1.320.0090.00417.79

preferences:
50.63 ms | 861 KiB | 5 Q