3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'firstname', 'bob', 'lastname', 'alex' ]; var_export( array_column(array_chunk($array, 2), 1, 0) );

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.30.0110.00917.84
8.5.20.0060.00820.25
8.5.10.0110.00816.59
8.5.00.0120.01019.79
8.4.180.0140.00721.95
8.4.170.0100.01020.38
8.4.160.0100.01220.47
8.4.150.0070.00516.80
8.4.140.0100.01117.50
8.4.130.0150.00417.45
8.4.120.0110.00923.95
8.4.110.0070.00320.68
8.4.100.0160.00218.80
8.4.90.0070.00420.48
8.4.80.0100.01018.93
8.4.70.0050.00320.57
8.4.60.0120.00918.83
8.4.50.0070.00620.50
8.4.40.0130.00617.31
8.4.30.0090.00020.36
8.4.20.0460.00217.25
8.4.10.0460.00217.19
8.3.300.0090.01220.86
8.3.290.0060.00520.82
8.3.280.0080.00516.17
8.3.270.0140.00516.36
8.3.260.0110.00816.16
8.3.250.0120.00916.97
8.3.240.0100.00917.12
8.3.230.0100.01016.70
8.3.220.0080.00918.81
8.3.210.0090.00918.38
8.3.200.0060.00316.59
8.3.190.0110.00417.25
8.3.180.0110.00419.02
8.3.170.0040.00416.98
8.3.160.0150.00416.43
8.3.150.0320.01316.26
8.3.140.0300.01216.38
8.3.130.0390.00016.16
8.3.120.0320.00916.18
8.3.110.0330.00916.38
8.3.100.0430.00516.38
8.3.90.0380.00516.28
8.3.80.0370.00716.30
8.3.70.0410.00516.35
8.3.60.0320.01416.21
8.3.50.0360.00716.31
8.3.40.0270.00617.28
8.3.30.0260.00917.17
8.3.20.0300.00617.21
8.3.10.0310.00817.29
8.3.00.0110.01018.26
8.2.300.0110.01320.25
8.2.290.0110.00820.04
8.2.280.0150.00518.30
8.2.270.0270.01116.41
8.2.260.0290.00816.37
8.2.250.0280.00816.48
8.2.240.0270.01116.26
8.2.230.0320.00716.20
8.2.220.0320.00616.19
8.2.210.0320.00616.30
8.2.200.0300.01016.29
8.2.190.0290.01016.41
8.2.180.0270.00916.11
8.2.170.0370.01117.33
8.2.160.0310.01017.47
8.2.150.0310.00817.42
8.2.140.0320.00817.26
8.2.130.0350.00617.29
8.2.120.0260.00917.44
8.2.110.0260.01017.39
8.2.100.0270.01317.54
8.2.90.0330.00717.31
8.2.80.0230.01617.37
8.2.70.0290.00817.34
8.2.60.0330.00817.25
8.2.50.0240.00817.31
8.2.40.0210.01117.37
8.2.30.0250.00317.38
8.2.20.0270.00817.31
8.2.10.0240.01217.27
8.2.00.0260.01017.32
8.1.340.0170.00920.18
8.1.320.0130.00615.86

preferences:
52.85 ms | 847 KiB | 5 Q