3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ [ "offer_id" => 62122, "quantity" => 1 ], [ "offer_id" => 62123, "quantity" => 2 ], [ "offer_id" => 62124, "quantity" => 2 ] ]; print_r(array_column($array, 'quantity', 'offer_id'));

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.0060.00318.40
8.5.60.0120.00816.62
8.5.50.0080.00616.37
8.5.30.0120.00521.24
8.5.20.0090.00820.27
8.5.10.0080.01019.90
8.5.00.0140.00819.71
8.4.210.0130.00821.18
8.4.180.0070.00322.07
8.4.170.0090.01322.00
8.4.160.0120.01025.70
8.4.150.0070.00616.79
8.4.140.0100.01117.34
8.4.130.0060.00717.81
8.4.120.0100.01020.43
8.4.110.0110.00922.35
8.4.100.0070.01217.57
8.4.90.0060.00318.54
8.4.80.0120.00917.77
8.4.70.0100.00717.59
8.4.60.0100.00918.65
8.4.50.0140.00617.42
8.4.40.0130.01019.50
8.4.30.0030.00619.06
8.4.20.0090.01219.54
8.4.10.0000.00923.77
8.3.300.0110.01020.31
8.3.290.0100.01020.75
8.3.280.0140.00618.18
8.3.270.0090.01116.58
8.3.260.0060.00216.20
8.3.250.0110.00518.79
8.3.240.0090.01016.42
8.3.230.0110.00916.63
8.3.220.0070.00817.13
8.3.210.0080.00916.45
8.3.200.0050.00416.27
8.3.190.0080.00618.83
8.3.180.0070.00416.38
8.3.170.0160.00318.98
8.3.160.0080.01116.38
8.3.150.0090.00918.93
8.3.140.0150.00320.30
8.3.130.0080.00018.29
8.3.120.0120.00620.65
8.3.110.0030.00620.94
8.3.100.0040.00424.06
8.3.90.0090.00626.77
8.3.80.0030.00617.97
8.3.70.0130.00316.63
8.3.60.0070.00716.32
8.3.50.0060.00918.45
8.3.40.0120.00320.17
8.3.30.0070.00718.42
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.300.0120.00818.64
8.2.290.0080.00420.51
8.2.280.0100.00620.42
8.2.270.0060.00916.59
8.2.260.0080.00816.59
8.2.250.0070.00716.44
8.2.240.0030.00617.10
8.2.230.0040.00422.58
8.2.220.0130.00637.54
8.2.210.0040.00426.77
8.2.200.0070.00318.16
8.2.190.0110.00318.10
8.2.180.0070.00716.38
8.2.170.0120.00318.68
8.2.160.0150.00022.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0040.00420.91
8.2.110.0100.00019.18
8.2.100.0000.01217.78
8.2.90.0050.00319.22
8.2.80.0030.00517.97
8.2.70.0080.00017.93
8.2.60.0040.00417.66
8.2.50.0000.00818.10
8.2.40.0000.00719.09
8.2.30.0080.00020.94
8.2.20.0000.00719.13
8.2.10.0040.00417.66
8.2.00.0030.01017.58
8.1.340.0120.00817.57
8.1.330.0100.00920.39
8.1.320.0110.00816.14
8.1.310.0030.01016.51
8.1.300.0150.00417.81
8.1.290.0090.00030.84
8.1.280.0100.00325.92
8.1.270.0060.00324.66
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0110.00017.64
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0000.00817.13
8.1.190.0030.00617.10
8.1.180.0000.00818.10
8.1.170.0050.00318.59
8.1.160.0030.00522.22
8.1.150.0000.00718.48
8.1.140.0070.00717.41
8.1.130.0040.00817.24
8.1.120.0060.01117.35
8.1.110.0070.00417.30
8.1.100.0130.00317.45
8.1.90.0150.00317.55
8.1.80.0170.00017.44
8.1.70.0170.00017.43
8.1.60.0000.02017.67
8.1.50.0070.01117.50
8.1.40.0150.00517.44
8.1.30.0130.00317.58
8.1.20.0110.00517.56
8.1.10.0160.00317.35
8.1.00.0110.00617.45
8.0.300.0090.00018.77
8.0.290.0040.00416.63
8.0.280.0040.00418.23
8.0.270.0000.00717.16
8.0.260.0130.00016.77
8.0.250.0070.00716.69
8.0.240.0100.00516.88
8.0.230.0090.00716.69
8.0.220.0080.00816.75
8.0.210.0120.00016.77
8.0.200.0120.00016.82
8.0.190.0000.01016.64
8.0.180.0080.00416.72
8.0.170.0150.00016.72
8.0.160.0050.00916.78
8.0.150.0120.00316.62
8.0.140.0060.00916.82
8.0.130.0120.00416.61
8.0.120.0120.00416.61
8.0.110.0110.00416.66
8.0.100.0130.00416.71
8.0.90.0120.00416.70
8.0.80.0110.00516.58
8.0.70.0070.00716.79
8.0.60.0000.01516.64
8.0.50.0100.00316.57
8.0.30.0160.00016.61
8.0.20.0100.00516.85
8.0.10.0170.00016.77

preferences:
52.11 ms | 1122 KiB | 5 Q