3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = Array ( Array ( 'attribute' => 'Healing', 'modifier' => 179 ), Array ( 'attribute' => 'Toughness', 'modifier' => 128 ), Array ( 'attribute' => 'ConditionDamage', 'modifier' => 128 ) ); $new_arr = array_column($arr, 'attribute', 'modifier'); print_r($new_arr);

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.3.40.0040.01118.48
8.3.30.0140.00019.05
8.3.20.0040.00420.21
8.3.10.0080.00023.53
8.3.00.0080.00017.38
8.2.170.0090.00622.96
8.2.160.0070.00720.40
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0030.00726.16
8.2.120.0000.00821.10
8.2.110.0030.00622.24
8.2.100.0040.00817.78
8.2.90.0050.00219.10
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0040.00717.88
8.2.50.0090.00018.07
8.2.40.0040.00418.09
8.2.30.0040.00417.98
8.2.20.0040.00417.48
8.2.10.0040.00418.03
8.2.00.0040.00417.71
8.1.270.0050.00323.91
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0060.00323.77
8.1.230.0040.00819.09
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.00917.23
8.1.190.0080.00017.10
8.1.180.0050.00518.96
8.1.170.0040.00418.52
8.1.160.0040.00321.93
8.1.150.0090.00318.80
8.1.140.0020.00517.37
8.1.130.0000.00717.87
8.1.120.0040.00417.40
8.1.110.0030.00517.33
8.1.100.0070.00017.45
8.1.90.0000.00717.46
8.1.80.0040.00417.32
8.1.70.0030.00317.34
8.1.60.0060.00417.48
8.1.50.0000.00717.42
8.1.40.0000.00817.35
8.1.30.0000.00817.62
8.1.20.0030.00517.57
8.1.10.0000.00817.41
8.1.00.0040.00417.26
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0030.00318.43
8.0.270.0000.00917.15
8.0.260.0000.00617.09
8.0.250.0060.00016.90
8.0.240.0030.00616.79
8.0.230.0000.00716.89
8.0.220.0000.00616.76
8.0.210.0050.00216.79
8.0.200.0070.00016.77
8.0.190.0000.01016.84
8.0.180.0040.00416.81
8.0.170.0000.00916.74
8.0.160.0030.00316.73
8.0.150.0030.00316.82
8.0.140.0100.00016.73
8.0.130.0070.00013.25
8.0.120.0090.00016.81
8.0.110.0040.00416.73
8.0.100.0000.00816.82
8.0.90.0000.00816.75
8.0.80.0060.00916.76
8.0.70.0040.00416.68
8.0.60.0080.00016.80
8.0.50.0040.00416.68
8.0.30.0100.01117.01
8.0.20.0170.00817.40
8.0.10.0030.00316.82
8.0.00.0070.01516.65
7.4.330.0020.00215.02
7.4.320.0030.00316.39
7.4.300.0060.00016.36
7.4.290.0040.00416.57
7.4.280.0000.00816.47
7.4.270.0030.00316.40
7.4.260.0030.00316.55
7.4.250.0070.00016.48
7.4.240.0040.00316.47
7.4.230.0030.00316.63
7.4.220.0110.00716.32
7.4.210.0080.00816.43
7.4.200.0000.00716.46
7.4.160.0060.01016.25
7.4.150.0100.00717.40
7.4.140.0140.01617.86
7.4.130.0040.01316.43
7.4.120.0130.00316.24
7.4.110.0040.01216.45
7.4.100.0060.01116.52
7.4.90.0110.00616.25
7.4.80.0130.00319.39
7.4.70.0140.00616.53
7.4.60.0060.00916.35
7.4.50.0090.00016.12
7.4.40.0120.00916.52
7.4.30.0080.00816.20
7.4.00.0090.00815.01
7.3.330.0000.00512.97
7.3.320.0040.00412.97
7.3.310.0070.00016.11
7.3.300.0000.00616.11
7.3.290.0100.00316.17
7.3.280.0070.01016.14
7.3.270.0070.01117.40
7.3.260.0130.01016.38
7.3.250.0170.00016.30
7.3.240.0200.00016.06
7.3.230.0080.00816.39
7.3.210.0150.00616.15
7.3.200.0140.00419.39
7.3.190.0130.00816.18
7.3.180.0060.01016.39
7.3.170.0120.00916.27
7.3.160.0030.01316.32
7.3.120.0080.00814.63
7.3.110.0130.00714.69
7.3.100.0060.01214.88
7.3.90.0030.01014.71
7.3.80.0060.01214.59
7.3.70.0070.00314.33
7.3.60.0040.01114.49
7.3.50.0000.01614.69
7.3.40.0040.00714.76
7.3.30.0060.00614.55
7.3.20.0090.00916.51
7.3.10.0110.00616.34
7.3.00.0040.00716.45
7.2.330.0120.01216.69
7.2.320.0130.01016.65
7.2.310.0110.00616.65
7.2.300.0090.00916.24
7.2.290.0170.00416.58
7.2.250.0060.01314.80
7.2.240.0000.01515.11
7.2.230.0100.00315.07
7.2.220.0060.00614.98
7.2.210.0090.00614.78
7.2.200.0060.00614.87
7.2.190.0000.01514.76
7.2.180.0090.00614.89
7.2.170.0030.00815.09
7.2.160.0090.00614.71
7.2.150.0060.00617.00
7.2.140.0090.00616.65
7.2.130.0030.01416.76
7.2.120.0030.00916.66
7.2.110.0000.01116.85
7.2.100.0030.01216.75
7.2.90.0040.01116.80
7.2.80.0030.00817.03
7.2.70.0060.01016.46
7.2.60.0090.00916.67
7.2.50.0000.01316.80
7.2.40.0000.01616.82
7.2.30.0070.00716.61
7.2.20.0060.00916.95
7.2.10.0070.00716.82
7.2.00.0080.01218.13
7.1.330.0060.00915.72
7.1.320.0080.00815.52
7.1.310.0040.01115.63
7.1.300.0080.00615.64
7.1.290.0060.00615.70
7.1.280.0040.00715.79
7.1.270.0120.00315.50
7.1.260.0060.00615.70
7.1.250.0070.00715.76
7.1.240.0040.01115.78
7.1.230.0070.00715.54
7.1.220.0060.00615.80
7.1.210.0030.00915.49
7.1.200.0040.00415.71
7.1.190.0060.00915.90
7.1.180.0040.00415.57
7.1.170.0070.00715.80
7.1.160.0090.00915.77
7.1.150.0120.00015.70
7.1.140.0060.00915.69
7.1.130.0130.00015.77
7.1.120.0060.00915.67
7.1.110.0100.00615.81
7.1.100.0020.00916.91
7.1.90.0030.00715.54
7.1.80.0030.01015.80
7.1.70.0050.00516.24
7.1.60.0090.00817.65
7.1.50.0050.01416.30
7.1.40.0080.00415.79
7.1.30.0000.01215.80
7.1.20.0000.00815.74
7.1.10.0040.00815.53
7.1.00.0080.04019.01
7.0.330.0030.01015.55
7.0.320.0060.00315.08
7.0.310.0060.00315.24
7.0.300.0040.00815.48
7.0.290.0000.01315.31
7.0.280.0040.00415.35
7.0.270.0030.00915.52
7.0.260.0120.00315.29
7.0.250.0000.01215.33
7.0.240.0070.00315.16
7.0.230.0040.00715.19
7.0.220.0100.00315.48
7.0.210.0000.00815.42
7.0.200.0060.00516.07
7.0.190.0000.01315.37
7.0.180.0060.00315.20
7.0.170.0000.01315.27
7.0.160.0060.00315.55
7.0.150.0080.00815.18
7.0.140.0030.04018.55
7.0.130.0030.00615.41
7.0.120.0040.00415.15
7.0.110.0040.01115.09
7.0.100.0040.00415.18
7.0.90.0130.00015.22
7.0.80.0040.00414.97
7.0.70.0030.01415.43
7.0.60.0040.04417.69
7.0.50.0080.04716.68
7.0.40.0060.02316.74
7.0.30.0270.02916.70
7.0.20.0150.02716.83
7.0.10.0150.01816.84
7.0.00.0060.04316.78
5.6.400.0070.00714.28
5.6.390.0030.00814.37
5.6.380.0030.00614.44
5.6.370.0100.00613.86
5.6.360.0000.01314.37
5.6.350.0040.01514.25
5.6.340.0100.00714.31
5.6.330.0040.01114.45
5.6.320.0030.01014.11
5.6.310.0080.00414.30
5.6.300.0060.00914.12
5.6.290.0120.00314.34
5.6.280.0050.03817.52
5.6.270.0030.01013.91
5.6.260.0000.01114.30
5.6.250.0030.01014.45
5.6.240.0060.01114.11
5.6.230.0040.00413.89
5.6.220.0060.00914.38
5.6.210.0080.04017.39
5.6.200.0070.02416.07
5.6.190.0050.03717.40
5.6.180.1840.02417.17
5.6.170.0150.03017.32
5.6.160.0050.03217.37
5.6.150.0070.02316.18
5.6.140.0100.04016.21
5.6.130.0130.01716.27
5.6.120.0060.02317.62
5.6.110.0030.02517.59
5.6.100.0070.05017.45
5.6.90.0050.04817.61
5.6.80.0070.04317.20
5.6.70.0160.03617.33
5.6.60.0030.01014.02
5.6.50.0000.00914.31
5.6.40.0030.01313.99
5.6.30.0080.00314.11
5.6.20.0070.00714.25
5.6.10.0030.01213.93
5.6.00.0060.00914.06
5.5.380.0090.00614.15
5.5.370.0030.00913.96
5.5.360.0030.01413.81
5.5.350.0240.03417.26
5.5.340.0150.02516.10
5.5.330.0080.02817.21
5.5.320.0170.02917.21
5.5.310.0150.02017.25
5.5.300.0050.03816.06
5.5.290.0070.02716.06
5.5.280.0080.03517.46
5.5.270.0070.04017.41
5.5.260.0060.02617.45
5.5.250.0050.04917.33
5.5.240.1900.02217.20
5.5.230.0040.00714.10
5.5.220.0030.00914.06
5.5.210.0080.00814.38
5.5.200.0070.01014.05
5.5.190.0030.00513.84
5.5.180.0060.00614.16
5.5.170.0040.00414.17
5.5.160.0110.00413.92
5.5.150.0000.00814.21
5.5.140.0060.00614.15
5.5.130.0060.00914.28
5.5.120.0160.00014.02
5.5.110.0000.01214.06
5.5.100.0040.00414.16
5.5.90.0030.00914.27
5.5.80.0080.00614.03
5.5.70.0040.01513.99
5.5.60.0100.00314.35
5.5.50.0030.01414.04
5.5.40.0000.00813.96
5.5.30.0040.01114.15
5.5.20.0090.00613.97
5.5.10.0040.00413.64
5.5.00.0030.01014.15
5.4.450.0520.02715.12
5.4.440.0050.03515.25
5.4.430.0410.02315.21
5.4.420.0320.02715.11
5.4.410.0180.03515.12
5.4.400.0280.03114.82
5.4.390.0300.02614.93
5.4.380.0050.02914.74
5.4.370.0030.03114.75
5.4.360.0100.02914.81
5.4.350.0070.02511.42
5.4.340.0090.03211.34
5.4.330.0070.00310.95
5.4.320.0020.02411.76
5.4.310.0050.02311.65
5.4.300.0060.02111.63
5.4.290.0100.01811.68
5.4.280.0040.02311.53
5.4.270.0020.02311.47
5.4.260.0040.02211.45
5.4.250.0050.02011.47
5.4.240.0050.02011.52
5.4.230.0040.02111.63
5.4.220.0050.02411.55
5.4.210.0020.02211.64
5.4.200.0040.02511.56
5.4.190.0050.02211.62
5.4.180.0050.01911.54
5.4.170.0060.02111.72
5.4.160.0010.02311.56
5.4.150.0050.01911.56
5.4.140.0060.02011.49
5.4.130.0040.02011.43
5.4.120.0040.02311.36
5.4.110.0040.01911.35
5.4.100.0050.02011.40
5.4.90.0040.02111.41
5.4.80.0040.02211.48
5.4.70.0070.01711.30
5.4.60.0040.02211.37
5.4.50.0040.01911.25
5.4.40.0050.01711.22
5.4.30.0070.02011.36
5.4.20.0040.01911.45
5.4.10.0040.01911.30
5.4.00.0020.02411.18
5.3.290.0090.05012.80
5.3.280.0070.03512.71
5.3.270.0050.03912.72
5.3.260.0070.03712.72
5.3.250.0030.03912.71
5.3.240.0070.03412.72
5.3.230.0040.03812.71
5.3.220.0030.03912.68
5.3.210.0050.03912.68
5.3.200.0050.03612.68
5.3.190.0050.03712.68
5.3.180.0050.03712.67
5.3.170.0070.03512.66
5.3.160.0070.03812.67
5.3.150.0060.03612.67
5.3.140.0080.04112.66
5.3.130.0050.03912.65
5.3.120.0040.04012.66
5.3.110.0060.03712.66
5.3.100.0050.03712.11
5.3.90.0060.03612.08
5.3.80.0050.03612.07
5.3.70.0080.03412.08
5.3.60.0080.03512.06
5.3.50.0070.03512.00
5.3.40.0060.03712.00
5.3.30.0060.03511.95
5.3.20.0030.03911.73
5.3.10.0070.03311.70
5.3.00.0090.03311.68
5.2.170.0050.0309.18
5.2.160.0030.0309.18
5.2.150.0030.0329.18
5.2.140.0060.0319.18
5.2.130.0030.0309.14
5.2.120.0050.0419.14
5.2.110.0040.0289.14
5.2.100.0060.0369.14
5.2.90.0040.0309.14
5.2.80.0080.0279.14
5.2.70.0060.0289.14
5.2.60.0050.0359.09
5.2.50.0040.0309.06
5.2.40.0050.0359.04
5.2.30.0040.0449.01
5.2.20.0040.0289.00
5.2.10.0040.0298.93
5.2.00.0050.0288.79
5.1.60.0050.0258.07
5.1.50.0030.0258.06
5.1.40.0020.0288.04
5.1.30.0060.0268.39
5.1.20.0030.0278.42
5.1.10.0060.0308.14
5.1.00.0030.0278.14
5.0.50.0040.0206.62
5.0.40.0040.0186.48
5.0.30.0030.0326.29
5.0.20.0040.0216.27
5.0.10.0040.0256.24
5.0.00.0050.0376.23
4.4.90.0020.0224.78
4.4.80.0040.0204.75
4.4.70.0020.0164.76
4.4.60.0020.0174.75
4.4.50.0030.0144.77
4.4.40.0040.0244.71
4.4.30.0030.0154.76
4.4.20.0030.0154.85
4.4.10.0020.0164.85
4.4.00.0020.0254.76
4.3.110.0030.0154.67
4.3.100.0020.0154.67
4.3.90.0020.0154.63
4.3.80.0020.0244.58
4.3.70.0020.0144.63
4.3.60.0040.0144.63
4.3.50.0010.0164.63
4.3.40.0020.0244.53
4.3.30.0010.0173.29
4.3.20.0010.0163.26
4.3.10.0010.0163.22
4.3.00.0200.0237.09

preferences:
38.82 ms | 400 KiB | 5 Q