3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ["greeting", "hello", "question", "how-are-you", "response", "im-fine"]; 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.0100.00821.16
8.5.20.0100.00920.11
8.5.10.0050.00316.42
8.5.00.0110.01119.95
8.4.180.0130.01020.57
8.4.170.0130.00923.90
8.4.160.0030.00623.93
8.4.150.0070.00617.71
8.4.140.0130.00717.43
8.4.130.0100.00918.73
8.4.120.0030.00623.92
8.4.110.0110.00820.38
8.4.100.0100.00919.00
8.4.90.0110.00420.30
8.4.80.0120.00718.50
8.4.70.0120.00718.60
8.4.60.0080.01218.74
8.4.50.0110.00818.57
8.4.40.0100.01019.23
8.4.30.0130.00620.75
8.4.20.0100.01019.50
8.4.10.0150.00319.23
8.3.300.0120.00722.74
8.3.290.0080.01218.09
8.3.280.0110.00818.16
8.3.270.0110.00916.16
8.3.260.0130.00716.55
8.3.250.0130.00818.68
8.3.240.0080.00616.91
8.3.230.0120.00916.50
8.3.220.0050.00218.84
8.3.210.0080.00816.61
8.3.200.0060.00316.66
8.3.190.0110.00817.00
8.3.180.0060.01218.84
8.3.170.0110.00718.72
8.3.160.0120.00616.44
8.3.150.0100.00318.61
8.3.140.0150.00316.40
8.3.130.0080.00018.46
8.3.120.0100.00020.82
8.3.110.0080.00018.21
8.3.100.0040.01118.28
8.3.90.0360.01126.77
8.3.80.0430.00726.77
8.3.70.0470.00326.77
8.3.60.0350.01326.77
8.3.50.0370.01226.77
8.3.40.0250.00926.77
8.3.30.0110.00826.77
8.3.20.0210.00026.77
8.3.10.0120.00826.77
8.3.00.0140.00526.77
8.2.300.0090.00918.74
8.2.290.0100.00520.28
8.2.280.0140.00618.54
8.2.270.0140.00418.74
8.2.260.0080.00017.14
8.2.250.0050.00316.38
8.2.240.0040.00419.07
8.2.230.0060.00320.94
8.2.220.0080.00824.06
8.2.210.0050.01126.77
8.2.200.0220.00626.77
8.2.190.0260.00326.77
8.2.180.0220.00526.77
8.2.170.0170.00226.77
8.2.160.0260.01926.77
8.2.150.0270.01526.77
8.2.140.0360.00926.77
8.2.130.0260.00626.77
8.2.120.0340.00926.77
8.2.110.0220.01326.77
8.2.100.0320.00326.77
8.2.90.0300.01126.77
8.2.80.0370.00326.77
8.2.70.0320.01026.77
8.2.60.0290.01226.77
8.2.50.0330.00426.77
8.2.40.0360.00926.77
8.2.30.0380.00326.77
8.2.20.0350.00426.77
8.2.10.0300.01026.77
8.2.00.0350.01026.77
8.1.340.0100.00917.48
8.1.330.0110.00221.91
8.1.320.0110.00818.00
8.1.310.0110.00716.81
8.1.300.0080.00017.67
8.1.290.0530.00426.77
8.1.280.0240.00626.77
8.1.270.0200.00426.77
8.1.260.0170.00626.77
8.1.250.0150.00626.77
8.1.240.0160.00426.77
8.1.230.0180.00326.77
8.1.220.0160.00326.77
8.1.210.0160.00326.77
8.1.200.0110.00726.77
8.1.190.0190.00026.77
8.1.180.0200.00026.77
8.1.170.0100.00726.77
8.1.160.0160.00326.77
8.1.150.0090.00926.77
8.1.140.0170.00326.77
8.1.130.0200.00026.77
8.1.120.0150.00626.77
8.1.110.0140.00526.77
8.1.100.0170.00326.77
8.1.90.0130.00626.77
8.1.80.0150.00726.77
8.1.70.0150.00326.77
8.1.60.0130.01026.77
8.1.50.0160.00526.77
8.1.40.0110.00726.77
8.1.30.0170.01226.77
8.1.20.0180.00426.77
8.1.10.0330.00726.77
8.1.00.0250.00326.77

preferences:
50.03 ms | 983 KiB | 5 Q