3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( array( 'firstname' => 'Bob', 'lastname' => 'Tomato' ), array( 'firstname' => 'Larry', 'lastname' => 'Cucumber' ) ); var_dump(array_column($arr,"firstname","lastname"));

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.60.0090.00618.18
8.3.50.0080.00622.02
8.3.40.0040.01118.67
8.3.30.0080.00618.88
8.3.20.0040.00420.20
8.3.10.0050.00322.11
8.3.00.0060.00322.24
8.2.180.0120.00616.38
8.2.170.0120.00322.96
8.2.160.0140.00020.85
8.2.150.0090.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00819.36
8.2.110.0090.00022.29
8.2.100.0030.00917.59
8.2.90.0000.00819.03
8.2.80.0080.00017.97
8.2.70.0030.00617.38
8.2.60.0050.00317.80
8.2.50.0040.00418.07
8.2.40.0000.00817.91
8.2.30.0040.00417.89
8.2.20.0070.00017.58
8.2.10.0040.00417.60
8.2.00.0040.00417.54
8.1.280.0100.00325.92
8.1.270.0080.00023.82
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.94
8.1.230.0070.00419.16
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00317.22
8.1.190.0040.00417.41
8.1.180.0000.00818.10
8.1.170.0030.00618.50
8.1.160.0000.00921.81
8.1.150.0030.00518.58
8.1.140.0050.00317.41
8.1.130.0040.00417.82
8.1.120.0040.00417.36
8.1.110.0070.00017.42
8.1.100.0070.00017.35
8.1.90.0000.00717.30
8.1.80.0050.00317.34
8.1.70.0080.00017.33
8.1.60.0080.00017.52
8.1.50.0050.00217.43
8.1.40.0030.00617.46
8.1.30.0050.00317.40
8.1.20.0030.00517.53
8.1.10.0040.00417.30
8.1.00.0040.00417.38
8.0.300.0080.00018.77
8.0.290.0070.00017.05
8.0.280.0040.00418.41
8.0.270.0030.00317.18
8.0.260.0040.00416.75
8.0.250.0000.00716.87
8.0.240.0070.00016.79
8.0.230.0070.00016.75
8.0.220.0040.00416.69
8.0.210.0030.00316.85
8.0.200.0060.00016.81
8.0.190.0000.00816.80
8.0.180.0000.00716.88
8.0.170.0000.00816.87
8.0.160.0030.00316.71
8.0.150.0070.00016.82
8.0.140.0070.00016.68
8.0.130.0000.00513.22
8.0.120.0080.00016.69
8.0.110.0000.00716.80
8.0.100.0000.00816.68
8.0.90.0080.00016.69
8.0.80.0060.00916.81
8.0.70.0040.00416.71
8.0.60.0020.00516.75
8.0.50.0050.00316.81
8.0.30.0070.01217.08
8.0.20.0130.00817.40
8.0.10.0050.00316.92
8.0.00.0090.01016.49
7.4.330.0050.00015.03
7.4.320.0000.00616.44
7.4.300.0030.00316.52
7.4.290.0070.00016.45
7.4.280.0030.00316.42
7.4.270.0030.00716.34
7.4.260.0070.00416.42
7.4.250.0030.00616.38
7.4.240.0060.00216.48
7.4.230.0070.00016.63
7.4.220.0090.00916.53
7.4.210.0090.00616.44
7.4.200.0070.00016.37
7.4.190.0000.00716.49
7.4.160.0170.00016.54
7.4.150.0060.01517.40
7.4.140.0120.00817.86
7.4.130.0120.01016.46
7.4.120.0140.00416.35
7.4.110.0030.01316.27
7.4.100.0060.01516.33
7.4.90.0110.00716.20
7.4.80.0160.00619.39
7.4.70.0030.01316.42
7.4.60.0110.00716.42
7.4.50.0000.00816.55
7.4.40.0100.00522.77
7.4.30.0070.01016.57
7.4.00.0070.00714.69
7.3.330.0030.00313.00
7.3.320.0000.00512.98
7.3.310.0000.00716.04
7.3.300.0070.00016.06
7.3.290.0060.00916.07
7.3.280.0050.00916.13
7.3.270.0150.00317.40
7.3.260.0100.00716.21
7.3.250.0090.00916.09
7.3.240.0130.00416.02
7.3.230.0080.00916.39
7.3.210.0120.00916.03
7.3.200.0090.00619.39
7.3.190.0160.00016.18
7.3.180.0160.00016.52
7.3.170.0090.00616.54
7.3.160.0110.00816.20
7.3.120.0030.01014.83
7.3.10.0080.01516.06
7.3.00.0170.00616.46
7.2.330.0060.01516.49
7.2.320.0120.01116.56
7.2.310.0090.00916.57
7.2.300.0170.00016.39
7.2.290.0130.00316.59
7.2.130.0120.01216.45
7.2.120.0160.00916.43
7.2.110.0130.01016.45
7.2.100.0210.00716.43
7.2.90.0150.00616.45
7.2.80.0270.00616.28
7.2.70.0110.01116.30
7.2.60.0100.01016.12
7.2.50.0200.01116.29
7.2.40.0110.00716.21
7.2.30.0100.00715.93
7.2.20.0150.01016.75
7.2.10.0150.00916.68
7.2.00.0070.01117.72
7.1.250.0070.01115.64
7.1.100.0000.01017.82
7.1.70.0030.00717.16
7.1.60.0100.01319.82
7.1.50.0070.01416.85
7.1.00.0030.07722.43
7.0.200.0040.00816.66
7.0.140.0000.07722.21
7.0.60.0030.05319.81
7.0.50.0070.07017.71
7.0.40.0170.07720.02
7.0.30.0530.07320.30
7.0.20.0330.05720.18
7.0.10.0100.08320.11
7.0.00.0200.07720.00
5.6.280.0000.07721.06
5.6.210.0070.03720.61
5.6.200.0070.04718.19
5.6.190.0130.08020.77
5.6.180.0670.06720.45
5.6.170.0300.07020.51
5.6.160.0030.04020.48
5.6.150.0100.04318.11
5.6.140.0030.05318.07
5.6.130.0030.07318.12
5.6.120.0100.05021.11
5.6.110.0030.09021.10
5.6.100.0000.04721.10
5.6.90.0000.04320.96
5.6.80.0100.07320.52
5.5.350.0230.06020.48
5.5.340.0200.07017.89
5.5.330.0100.07320.21
5.5.320.0030.08320.34
5.5.310.0370.07020.20
5.5.300.0030.05318.02
5.5.290.0000.04317.96
5.5.280.0070.07020.84
5.5.270.0100.08020.77
5.5.260.0200.06320.76
5.5.250.0000.08720.68
5.5.240.0200.07020.17
5.4.450.0300.04719.39
5.4.440.0230.05019.57
5.4.430.0270.04719.13
5.4.420.0200.07719.45
5.4.410.0300.06719.28
5.4.400.0230.05318.90
5.4.390.0230.07719.09
5.4.380.0270.06718.79
5.4.370.0230.07018.78
5.4.360.0230.04719.13
5.4.350.0270.04718.88
5.4.340.0230.05318.93
5.4.320.0330.06719.13
5.4.310.0230.04718.80
5.4.300.0270.06019.21
5.4.290.0200.07318.88
5.4.280.0200.06719.17
5.4.270.0300.04019.09
5.4.260.0170.04718.78
5.4.250.0230.05318.77
5.4.240.0300.06719.05
5.4.230.0330.05719.21
5.4.220.0230.05318.77
5.4.210.0330.06719.08
5.4.200.0230.03719.08
5.4.190.0300.05719.23
5.4.180.0270.04719.07
5.4.170.0200.07019.21
5.4.160.0300.04319.07
5.4.150.0300.07019.07
5.4.140.0230.07016.45
5.4.130.0230.04016.15
5.4.120.0200.03716.20
5.4.110.0270.04316.34
5.4.100.0170.08016.20
5.4.90.0200.07016.47
5.4.80.0170.06316.18
5.4.70.0230.04316.05
5.4.60.0230.03316.19
5.4.50.0130.03716.29
5.4.40.0130.03716.17
5.4.30.0170.03316.35
5.4.20.0130.03716.43
5.4.10.0270.03316.40
5.4.00.0130.03315.88
5.3.290.0230.07014.50
5.3.280.0200.03714.44
5.3.270.0230.05014.45
5.3.260.0200.07714.45
5.3.250.0300.06314.48
5.3.240.0230.06314.55
5.3.230.0270.07014.57
5.3.220.0300.06714.65
5.3.210.0270.04714.52
5.3.200.0200.05014.65
5.3.190.0300.05714.47
5.3.180.0230.06014.47
5.3.170.0170.04314.49
5.3.160.0070.04314.65
5.3.150.0130.03714.40
5.3.140.0130.03714.53
5.3.130.0170.04014.48
5.3.120.0100.04014.39
5.3.110.0170.04314.42
5.3.100.0070.04313.98
5.3.90.0200.03313.87
5.3.80.0230.02714.11
5.3.70.0170.03313.85
5.3.60.0200.05013.95
5.3.50.0030.04313.85
5.3.40.0300.02713.97
5.3.30.0100.03713.78
5.3.20.0130.03713.50
5.3.10.0230.02713.63
5.3.00.0100.03713.48
5.2.170.0100.03012.05
5.2.160.0170.02312.05
5.2.150.0100.03012.05
5.2.140.0070.03312.05
5.2.130.0070.03012.05
5.2.120.0130.02312.05
5.2.110.0100.02712.05
5.2.100.0130.02312.05
5.2.90.0070.03012.05
5.2.80.0130.03712.05
5.2.70.0100.03012.05
5.2.60.0200.03012.05
5.2.50.0130.02712.05
5.2.40.0100.03312.05
5.2.30.0100.03712.05
5.2.20.0170.02712.05
5.2.10.0130.02312.05
5.2.00.0100.02712.05
5.1.60.0100.03012.05
5.1.50.0130.02012.05
5.1.40.0130.05312.05
5.1.30.0170.03012.05
5.1.20.0070.03012.05
5.1.10.0070.02712.05
5.1.00.0100.02712.05
5.0.50.0030.03012.05
5.0.40.0070.02712.05
5.0.30.0100.06312.05
5.0.20.0100.04312.05
5.0.10.0070.04312.05
5.0.00.0070.07012.05
4.4.90.0100.01012.05
4.4.80.0070.01312.05
4.4.70.0000.02312.05
4.4.60.0000.02012.05
4.4.50.0030.01712.05
4.4.40.0070.02012.05
4.4.30.0030.01712.05
4.4.20.0070.01312.05
4.4.10.0130.00712.05
4.4.00.0100.04312.05
4.3.110.0070.02012.05
4.3.100.0070.03012.05
4.3.90.0130.02312.05
4.3.80.0070.04312.05
4.3.70.0070.03312.05
4.3.60.0100.03312.05
4.3.50.0100.03312.05
4.3.40.0100.04312.05
4.3.30.0100.03012.05
4.3.20.0070.03012.05
4.3.10.0070.03312.05
4.3.00.0030.03012.05

preferences:
36.91 ms | 401 KiB | 5 Q