3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['id' => 1, 'key' => 'foo', 'data' => 'a'], ['id' => 2, 'key' => 'bar', 'data' => 'b'], ['id' => 3, 'key' => 'barf', 'data' => 'c'], ]; var_export( array_column($array, 'data', '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.4.120.0110.00920.44
8.4.110.0040.00718.77
8.4.100.0100.00817.73
8.4.90.0120.00917.66
8.4.80.0110.01017.44
8.4.70.0080.00719.35
8.4.60.0100.00918.83
8.4.50.0130.01020.30
8.4.40.0130.00617.67
8.4.30.0090.00018.71
8.4.20.0070.01317.82
8.4.10.0070.00317.75
8.3.250.0060.00218.81
8.3.240.0070.00216.66
8.3.230.0090.01016.79
8.3.220.0110.00918.57
8.3.210.0090.00716.62
8.3.200.0070.00516.42
8.3.190.0070.01116.92
8.3.180.0050.00516.31
8.3.170.0140.00716.85
8.3.160.0100.00718.43
8.3.150.0040.00419.11
8.3.140.0060.00918.52
8.3.130.0040.00416.45
8.3.120.0050.00320.46
8.3.110.0040.00420.94
8.3.100.0140.00424.06
8.3.90.0070.00426.77
8.3.80.0070.00416.50
8.3.70.0100.01016.58
8.3.60.0110.00418.43
8.3.50.0170.00320.18
8.3.40.0060.00918.56
8.3.30.0070.01118.54
8.3.20.0050.00224.18
8.3.10.0100.00024.66
8.3.00.0040.01426.16
8.2.290.0120.00620.37
8.2.280.0090.00918.44
8.2.270.0130.00616.97
8.2.260.0080.00016.51
8.2.250.0080.00016.70
8.2.240.0030.00617.01
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0040.01426.77
8.2.200.0060.00316.38
8.2.190.0110.01116.58
8.2.180.0070.01425.92
8.2.170.0180.00418.79
8.2.160.0100.00722.96
8.2.150.0150.00325.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00826.16
8.2.110.0000.00920.52
8.2.100.0140.00017.78
8.2.90.0060.00317.63
8.2.80.0080.00018.60
8.2.70.0080.00017.38
8.2.60.0080.00017.80
8.2.50.0090.00018.07
8.2.40.0040.00418.09
8.2.30.0000.00817.96
8.2.20.0000.00720.53
8.2.10.0020.00517.62
8.2.00.0040.00419.17
8.1.330.0070.01016.52
8.1.320.0100.00818.00
8.1.310.0000.00716.81
8.1.300.0110.00718.47
8.1.290.0000.00918.88
8.1.280.0120.00425.92
8.1.270.0080.00023.99
8.1.260.0070.01026.35
8.1.250.0040.00428.09
8.1.240.0030.00619.01
8.1.230.0080.00317.70
8.1.220.0000.01017.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0040.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00418.43
8.1.160.0040.00418.88
8.1.150.0040.00418.57
8.1.140.0040.00417.29
8.1.130.0030.00317.39
8.1.120.0040.00417.38
8.1.110.0000.00917.36
8.1.100.0000.00717.38
8.1.90.0040.00417.29
8.1.80.0000.00917.38
8.1.70.0000.00717.37
8.1.60.0050.00317.39
8.1.50.0040.00417.43
8.1.40.0000.00717.46
8.1.30.0030.00617.53
8.1.20.0220.00417.59
8.1.10.0220.00417.33
8.1.00.0200.00617.18
8.0.300.0030.00618.77
8.0.290.0020.00516.75
8.0.280.0080.00020.16
8.0.270.0000.00719.72
8.0.260.0030.00316.74
8.0.250.0070.00016.75
8.0.240.0050.00316.89
8.0.230.0040.00416.88
8.0.220.0030.00316.86
8.0.210.0050.00216.79
8.0.200.0030.00316.92
8.0.190.0000.00716.77
8.0.180.0040.00416.88
8.0.170.0080.00016.78
8.0.160.0050.00316.74
8.0.150.0200.00016.52
8.0.140.0110.00716.62
8.0.130.0130.00716.70
8.0.120.0130.00416.82
8.0.110.0120.00816.66
8.0.100.0160.00516.59
8.0.90.0180.00416.66
8.0.80.0150.00616.84
8.0.70.0120.00816.59
8.0.60.0200.00016.80
8.0.50.0140.00716.61
8.0.30.0210.00016.78
8.0.20.0180.00216.85
8.0.10.0160.00516.79
7.4.330.0000.00515.55
7.4.320.0030.00316.43
7.4.300.0060.00016.53
7.4.290.0030.00316.46
7.4.280.0070.00016.43
7.4.270.0220.00016.27
7.4.260.0220.00016.29
7.4.250.0110.01116.37
7.4.240.0190.00816.34
7.4.230.0200.00316.35
7.4.220.0150.00516.41
7.4.210.0150.00516.36
7.4.200.0180.00316.34
7.4.190.0160.00316.40
7.4.180.0110.00916.45
7.4.160.0170.00316.43
7.4.150.0080.01116.48
7.4.140.0130.00616.28
7.4.130.0170.00516.18
7.4.120.0130.00916.25
7.4.110.0200.00416.11
7.4.100.0120.00816.39
7.4.90.0260.00316.41
7.4.80.0140.00716.26
7.4.70.0230.00016.17
7.4.60.0130.00816.26
7.4.50.0120.00816.23
7.4.40.0160.00416.18
7.4.30.0140.00516.15
7.4.20.0190.00016.26
7.4.10.0150.00416.32
7.4.00.0190.00016.21

preferences:
33.23 ms | 403 KiB | 5 Q