3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ["foobar" => "asd"], ["foobar" => "abvc"], ["foobar" => "test123"], ]; var_export( array_column($array, 'foobar', 'foobar') );

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.4.140.0120.00917.56
8.4.130.0070.01217.58
8.4.120.0110.00820.62
8.4.110.0130.00722.46
8.4.100.0130.00717.45
8.4.90.0110.01017.74
8.4.80.0130.00717.70
8.4.70.0050.00317.63
8.4.60.0080.00318.42
8.4.50.0100.00917.48
8.4.40.0060.01317.50
8.4.30.0110.00420.33
8.4.20.0130.00317.59
8.4.10.0120.00021.90
8.3.270.0090.01016.52
8.3.260.0090.01116.70
8.3.250.0120.00618.82
8.3.240.0110.00816.37
8.3.230.0040.00516.41
8.3.220.0060.00717.07
8.3.210.0050.00516.61
8.3.200.0050.00416.66
8.3.190.0100.00917.18
8.3.180.0130.00616.92
8.3.170.0030.00616.65
8.3.160.0140.00316.92
8.3.150.0110.00718.83
8.3.140.0090.00916.39
8.3.130.0040.00418.44
8.3.120.0030.00620.53
8.3.110.0040.00416.41
8.3.100.0030.00618.47
8.3.90.0120.00326.77
8.3.80.0000.01116.38
8.3.70.0100.01016.58
8.3.60.0140.00716.38
8.3.50.0120.00320.01
8.3.40.0060.00920.46
8.3.30.0060.00918.46
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0100.00820.36
8.2.280.0090.00918.18
8.2.270.0190.00017.30
8.2.260.0100.00018.37
8.2.250.0000.00818.32
8.2.240.0030.00616.30
8.2.230.0080.00020.94
8.2.220.0040.00424.06
8.2.210.0050.00326.77
8.2.200.0050.00516.50
8.2.190.0060.01516.58
8.2.180.0100.00425.92
8.2.170.0090.00618.82
8.2.160.0140.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00426.16
8.2.110.0030.00722.18
8.2.100.0140.00019.39
8.2.90.0050.00517.59
8.2.80.0000.00818.88
8.2.70.0060.00317.63
8.2.60.0050.00517.80
8.2.50.0110.00418.79
8.2.40.0080.00519.70
8.2.30.0050.00718.75
8.2.20.0130.00019.31
8.2.10.0080.00418.71
8.2.00.0050.00719.35
8.1.330.0110.00718.10
8.1.320.0090.00116.19
8.1.310.0110.00716.51
8.1.300.0060.00315.93
8.1.290.0000.00930.84
8.1.280.0070.00725.92
8.1.270.0100.00021.90
8.1.260.0060.01226.35
8.1.250.0090.00028.09
8.1.240.0080.00022.20
8.1.230.0040.00722.82
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0030.00617.13
8.1.190.0030.00617.11
8.1.180.0090.00318.81
8.1.170.0040.00819.01
8.1.160.0060.00619.25
8.1.150.0100.00219.04
8.1.140.0090.00318.45
8.1.130.0080.00318.38
8.1.120.0100.00118.40
8.1.110.0090.00518.40
8.1.100.0090.00418.39
8.1.90.0100.00218.42
8.1.80.0080.00518.45
8.1.70.0070.00518.45
8.1.60.0100.00318.52
8.1.50.0150.00218.49
8.1.40.0130.00318.51
8.1.30.0170.00018.53
8.1.20.0130.00418.55
8.1.10.0110.00718.46
8.1.00.0130.00518.42
8.0.300.0030.00320.04
8.0.290.0040.00416.75
8.0.280.0050.00718.93
8.0.270.0060.00618.15
8.0.260.0050.00718.13
8.0.250.0080.00418.18
8.0.240.0080.00618.13
8.0.230.0070.00518.14
8.0.220.0090.00618.16
8.0.210.0100.00618.14
8.0.200.0130.00218.16
8.0.190.0140.00118.17
8.0.180.0120.00518.17
8.0.170.0100.00618.17
8.0.160.0120.00418.12
8.0.150.0100.00618.18
8.0.140.0110.00418.11
8.0.130.0080.00818.11
8.0.120.0140.00218.14
8.0.110.0120.00218.09
8.0.100.0110.00418.12
8.0.90.0110.00518.15
8.0.80.0100.00618.16
8.0.70.0090.00718.10
8.0.60.0130.00218.17
8.0.50.0120.00318.09
8.0.30.0140.00318.13
8.0.20.0150.00218.14
8.0.10.0110.00618.25
7.4.330.0050.00417.53
7.4.320.0100.00217.95
7.4.300.0080.00418.00
7.4.290.0150.00017.97
7.4.280.0140.00218.01
7.4.270.0120.00518.03
7.4.260.0100.00618.00
7.4.250.0140.00418.03
7.4.240.0180.00017.95
7.4.230.0090.00818.01
7.4.220.0110.00518.01
7.4.210.0080.00817.95
7.4.200.0150.00217.97
7.4.190.0070.00917.98
7.4.180.0120.00618.02
7.4.160.0100.00317.99
7.4.150.0100.00317.98
7.4.140.0110.00317.90
7.4.130.0090.00517.81
7.4.120.0150.00117.85
7.4.110.0090.00417.91
7.4.100.0090.00417.97
7.4.90.0090.00517.95
7.4.80.0100.00217.91
7.4.70.0120.00517.92
7.4.60.0110.00517.93
7.4.50.0100.00517.87
7.4.40.0130.00117.86
7.4.30.0110.00417.90
7.4.20.0100.00317.89
7.4.10.0070.00517.92
7.4.00.0070.00617.95

preferences:
30.27 ms | 403 KiB | 5 Q