3v4l.org

run code in 500+ PHP versions simultaneously
<?php $all_array = [ ["id" => 1, "value" => 111], ["id" => 2, "value" => 222], ["id" => 3, "value" => 333], ["id" => 4, "value" => 111], ]; $array = array_column($all_array,null,'value'); $array = array_values($array); //if the array is to be re-indexed var_dump($array);

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.80.0050.00316.81
8.5.70.0130.00516.61
8.5.60.0110.00716.34
8.5.50.0110.01016.36
8.5.30.0090.01019.00
8.5.20.0110.00819.48
8.5.10.0080.00922.09
8.5.00.0140.00821.78
8.4.230.0080.00419.53
8.4.220.0090.00819.50
8.4.210.0120.00619.38
8.4.180.0120.01119.44
8.4.170.0120.00920.30
8.4.160.0130.00823.90
8.4.150.0090.00316.70
8.4.140.0120.00917.44
8.4.130.0130.00717.80
8.4.120.0090.01020.62
8.4.110.0070.01318.70
8.4.100.0080.00117.50
8.4.90.0110.01017.74
8.4.80.0020.00717.57
8.4.70.0080.00317.62
8.4.60.0120.00818.86
8.4.50.0070.00220.38
8.4.40.0100.01019.53
8.4.30.0130.00618.56
8.4.20.0110.01117.59
8.4.10.0100.01021.65
8.3.320.0110.00518.29
8.3.310.0100.01018.28
8.3.300.0060.00420.71
8.3.290.0100.00820.68
8.3.280.0140.00718.30
8.3.270.0100.00916.41
8.3.260.0090.01016.39
8.3.250.0070.00818.73
8.3.240.0090.01016.82
8.3.230.0050.00316.70
8.3.220.0050.00617.03
8.3.210.0040.00516.68
8.3.200.0040.00516.64
8.3.190.0070.00817.08
8.3.180.0040.00416.53
8.3.170.0120.00616.85
8.3.160.0060.01218.43
8.3.150.0150.00320.75
8.3.140.0040.00417.14
8.3.130.0080.00018.40
8.3.120.0120.00318.84
8.3.110.0110.00020.94
8.3.100.0150.00424.06
8.3.90.0060.01226.77
8.3.80.0060.00316.63
8.3.70.0040.01116.58
8.3.60.0140.00418.43
8.3.50.0070.00720.23
8.3.40.0120.00920.20
8.3.30.0060.00918.35
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.320.0110.00718.00
8.2.310.0100.01017.85
8.2.300.0080.01421.99
8.2.290.0060.00820.18
8.2.280.0110.01018.68
8.2.270.0120.00616.89
8.2.260.0030.00616.55
8.2.250.0050.00316.46
8.2.240.0090.00016.98
8.2.230.0000.00822.58
8.2.220.0130.00337.54
8.2.210.0080.00026.77
8.2.200.0030.00616.63
8.2.190.0110.00416.63
8.2.180.0160.00325.92
8.2.170.0060.01318.79
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0080.00420.89
8.2.110.0030.00720.43
8.2.100.0060.00617.50
8.2.90.0080.00019.05
8.2.80.0050.00317.97
8.2.70.0090.00317.47
8.2.60.0040.00417.80
8.2.50.0000.00918.07
8.2.40.0000.00818.09
8.2.30.0080.00017.98
8.2.20.0070.00019.18
8.2.10.0000.00718.01
8.2.00.0070.00019.15
8.1.340.0100.01117.68
8.1.330.0100.00818.36
8.1.320.0120.00816.26
8.1.310.0000.00816.69
8.1.300.0050.00320.27
8.1.290.0050.00530.84
8.1.280.0060.01225.92
8.1.270.0000.00724.66
8.1.260.0080.00026.35
8.1.250.0060.00628.09
8.1.240.0060.00322.01
8.1.230.0000.01117.66
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0060.00318.29
8.1.160.0040.00418.80
8.1.150.0000.00818.55
8.1.140.0000.00717.28
8.1.130.0040.00418.95
8.1.120.0070.00017.38
8.1.110.0030.00617.37
8.1.100.0000.00817.29
8.1.90.0130.00317.34
8.1.80.0050.01017.20
8.1.70.0090.00617.30
8.1.60.0180.00017.52
8.1.50.0110.00717.39
8.1.40.0120.00617.42
8.1.30.0120.00817.57
8.1.20.0140.00717.45
8.1.10.0150.00317.36
8.1.00.0170.00317.34
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0040.00418.27
8.0.270.0040.00416.73
8.0.260.0040.00418.42
8.0.250.0030.00316.86
8.0.240.0030.00316.87
8.0.230.0150.00016.78
8.0.220.0060.01116.71
8.0.210.0100.00316.68
8.0.200.0120.00316.80
8.0.190.0100.00316.75
8.0.180.0100.00316.70
8.0.170.0060.00816.70
8.0.160.0130.00316.76
8.0.150.0150.00016.80
8.0.140.0150.00016.77
8.0.130.0170.00016.61
8.0.120.0100.00716.64
8.0.110.0150.00016.73
8.0.100.0070.00716.68
8.0.90.0110.00416.84
8.0.80.0100.00516.76
8.0.70.0150.00016.70
8.0.60.0100.00316.76
8.0.50.0040.00716.71
8.0.30.0120.00016.73
8.0.20.0080.00316.87
8.0.10.0060.00616.98
7.4.330.0020.00215.55
7.4.320.0030.00316.54
7.4.300.0120.00016.37
7.4.290.0130.00216.47
7.4.280.0120.00016.43
7.4.270.0070.00716.30
7.4.260.0090.00616.46
7.4.250.0090.00316.36
7.4.240.0080.00616.30
7.4.230.0050.01016.41
7.4.220.0130.00316.48
7.4.210.0070.00516.34
7.4.200.0070.00516.51
7.4.190.0040.00716.56
7.4.180.0090.00516.48
7.4.160.0120.00216.51
7.4.150.0060.00616.38
7.4.140.0060.00316.43
7.4.130.0110.00016.30
7.4.120.0030.01016.29
7.4.110.0080.00616.29
7.4.100.0040.00916.40
7.4.90.0090.00616.35
7.4.80.0110.00316.25
7.4.70.0040.00816.11
7.4.60.0140.00016.30
7.4.50.0080.00416.21
7.4.40.0130.00016.04
7.4.30.0120.00016.33
7.4.20.0140.00016.29
7.4.10.0090.00616.21
7.4.00.0070.00716.34

preferences:
46.84 ms | 1330 KiB | 5 Q