3v4l.org

run code in 300+ PHP versions simultaneously
<?php $multiarr = [ ['Fruit' => 'Apples'], ['Fruit' => 'Bananas'], ['Fruit' => 'Oranges'], ['Veg' => 'Carrot'], //['Veg' => 'Leek'], ]; var_export( ['Fruit' => array_column($multiarr, 'Fruit')] );

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.0100.01023.96
8.4.110.0110.00718.82
8.4.100.0130.00718.67
8.4.90.0110.00920.54
8.4.80.0100.00918.84
8.4.70.0020.00917.66
8.4.60.0110.00918.89
8.4.50.0090.01120.20
8.4.40.0000.00817.47
8.4.30.0100.01020.65
8.4.20.0140.00718.04
8.4.10.0060.00320.51
8.3.250.0090.01018.75
8.3.240.0130.00517.26
8.3.230.0130.00616.66
8.3.220.0110.00818.98
8.3.210.0090.00716.57
8.3.200.0030.00616.59
8.3.190.0040.00417.05
8.3.180.0070.00816.68
8.3.170.0090.00016.80
8.3.160.0140.00416.63
8.3.150.0080.00818.42
8.3.140.0060.00316.63
8.3.130.0060.01316.44
8.3.120.0060.00319.10
8.3.110.0060.01216.63
8.3.100.0110.00716.75
8.3.90.0040.00419.89
8.3.80.0060.00316.50
8.3.70.0140.00416.63
8.3.60.0140.00318.30
8.3.50.0120.00723.54
8.3.40.0150.00418.66
8.3.30.0110.00318.45
8.3.20.0070.00020.79
8.3.10.0050.01021.75
8.3.00.0000.00718.66
8.2.290.0140.00520.22
8.2.280.0060.00318.41
8.2.270.0160.00317.22
8.2.260.0050.00520.70
8.2.250.0040.00418.34
8.2.240.0060.00318.92
8.2.230.0000.00920.94
8.2.220.0000.00824.06
8.2.210.0040.00426.77
8.2.200.0060.00316.50
8.2.190.0170.00316.63
8.2.180.0070.01018.29
8.2.170.0060.00922.96
8.2.160.0110.00321.06
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0100.01320.39
8.2.100.0090.01017.84
8.2.90.0000.00817.91
8.2.80.0080.00017.97
8.2.70.0000.00917.80
8.2.60.0000.00817.92
8.2.50.0000.00818.10
8.2.40.0070.00519.40
8.2.30.0060.00319.21
8.2.20.0000.00717.92
8.2.10.0000.00719.16
8.2.00.0000.00719.21
8.1.330.0110.00821.71
8.1.320.0100.00917.73
8.1.310.0100.00718.37
8.1.300.0000.00917.81
8.1.290.0030.00630.84
8.1.280.0090.01525.92
8.1.270.0060.00322.10
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0110.00323.72
8.1.230.0110.00022.11
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0000.00817.35
8.1.190.0060.00317.10
8.1.180.0000.00718.97
8.1.170.0040.00418.44
8.1.160.0060.00318.96
8.1.150.0040.00418.80
8.1.140.0000.00918.81
8.1.130.0000.00717.41
8.1.120.0000.00717.45
8.1.110.0070.00017.37
8.1.100.0070.00017.27
8.1.90.0030.00517.33
8.1.80.0000.00717.45
8.1.70.0040.00417.39
8.1.60.0030.00617.41
8.1.50.0030.00517.44
8.1.40.0040.00417.44
8.1.30.0040.00417.59
8.1.20.0040.00417.55
8.1.10.0000.00817.43
8.1.00.0040.00417.46
8.0.300.0080.00019.91
8.0.290.0030.00616.63
8.0.280.0070.00018.32
8.0.270.0040.00416.70
8.0.260.0000.00716.73
8.0.250.0070.00016.91
8.0.240.0040.00416.83
8.0.230.0070.00016.89
8.0.220.0070.00016.78
8.0.210.0000.00716.70
8.0.200.0060.00016.91
8.0.190.0040.00416.89
8.0.180.0040.00416.75
8.0.170.0030.00616.74
8.0.160.0070.00016.78
8.0.150.0070.00016.76
8.0.140.0040.00416.82
8.0.130.0030.00313.28
8.0.120.0000.00816.81
8.0.110.0050.00516.77
8.0.100.0000.00716.72
8.0.90.0080.00016.89
8.0.80.0110.00416.72
8.0.70.0050.00216.66
8.0.60.0030.00516.63
8.0.50.0040.00416.82
8.0.30.0040.01216.98
8.0.20.0080.01116.97
8.0.10.0070.00016.98
8.0.00.0060.01216.67
7.4.330.0050.00016.53
7.4.320.0000.00616.42
7.4.300.0070.00316.53
7.4.290.0000.00716.52
7.4.280.0050.00216.52
7.4.270.0000.00816.48
7.4.260.0050.00316.39
7.4.250.0040.00416.50
7.4.240.0070.00016.43
7.4.230.0030.00316.51
7.4.220.0000.00716.59
7.4.210.0100.00416.49
7.4.200.0070.00016.59
7.4.130.0180.00316.45
7.4.120.0140.00716.28
7.4.110.0120.00616.38
7.4.100.0060.01216.33
7.4.90.0060.01216.37
7.4.80.0070.01019.39
7.4.70.0060.01016.20
7.4.60.0080.00816.22
7.4.50.0030.01416.27
7.4.40.0040.01416.23
7.4.20.0140.00716.32
7.4.10.0150.00616.13
7.4.00.0050.01216.37
7.3.330.0030.00316.02
7.3.320.0050.00013.03
7.3.310.0000.00716.12
7.3.300.0030.00316.21
7.3.290.0040.01116.18
7.3.260.0070.01716.24
7.3.240.0060.01216.27
7.3.230.0100.00616.46
7.3.210.0070.01016.35
7.3.200.0030.01416.36
7.3.190.0130.01016.49
7.3.180.0060.00916.46
7.3.170.0140.00416.23
7.3.160.0150.00316.48
7.3.140.0120.00916.11
7.3.130.0170.00016.03
7.3.120.0000.01716.42
7.3.110.0030.01316.15
7.3.100.0170.00616.39
7.3.90.0160.00316.05
7.3.80.0140.00816.09
7.3.70.0120.01216.09
7.3.60.0060.01216.16
7.3.50.0140.00316.30
7.3.40.0040.01616.34
7.3.30.0090.01416.13
7.3.20.0040.01416.32
7.3.10.0120.01216.20
7.3.00.0150.00915.99
7.2.330.0090.00916.56
7.2.320.0080.00816.37
7.2.310.0100.00616.50
7.2.300.0110.00716.65
7.2.290.0060.00916.66
7.2.270.0130.00716.61
7.2.260.0090.01516.24
7.2.250.0100.00616.24
7.2.240.0070.01516.50
7.2.230.0140.00616.32
7.2.220.0120.00716.35
7.2.210.0070.01116.43
7.2.200.0150.00316.34
7.2.190.0100.01316.30
7.2.180.0120.01216.41
7.2.170.0180.00616.30
7.2.160.0120.00916.53
7.2.150.0070.01316.36
7.2.140.0070.02116.27
7.2.130.0120.01316.36
7.2.120.0130.01316.38
7.2.110.0140.01116.26
7.2.100.0150.01416.36
7.2.90.0130.01016.35
7.2.80.0170.00916.38
7.2.70.0100.01316.44
7.2.60.0060.01716.39
7.2.50.0120.00916.50
7.2.40.0110.00716.47
7.2.30.0090.01516.27
7.2.20.0060.01316.40
7.2.10.0120.00916.27
7.2.00.0100.01016.35

preferences:
28.27 ms | 403 KiB | 5 Q