3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( array( 'firstname' => 'Bob', 'lastname' => 'Tomato' ), array( 'firstname' => 'Larry', 'lastname' => 'Cucumber' ) ); $keys = array_keys($arr[0]); // get all keys; $var = call_user_func_array("array_column", array_merge(array($arr), $keys)); print_r($var); ?>

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.85
8.3.30.0150.00018.70
8.3.20.0050.00318.77
8.3.10.0070.01020.31
8.3.00.0080.00019.26
8.2.170.0060.00922.96
8.2.160.0130.00320.41
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0070.00418.76
8.2.110.0000.00919.45
8.2.100.0000.01219.35
8.2.90.0030.00517.75
8.2.80.0000.00917.97
8.2.70.0030.00617.93
8.2.60.0040.00418.16
8.2.50.0070.00318.10
8.2.40.0000.00719.38
8.2.30.0000.00719.32
8.2.20.0050.00417.75
8.2.10.0070.00017.68
8.2.00.0070.00017.57
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.01
8.1.230.0120.00022.25
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0050.00318.71
8.1.160.0000.00718.94
8.1.150.0040.00418.82
8.1.140.0040.00417.46
8.1.130.0000.00717.83
8.1.120.0050.00217.37
8.1.110.0040.00417.38
8.1.100.0000.00717.50
8.1.90.0050.00317.48
8.1.80.0030.00317.54
8.1.70.0100.00017.48
8.1.60.0000.00817.62
8.1.50.0040.00417.38
8.1.40.0000.00717.50
8.1.30.0000.00817.55
8.1.20.0000.00817.57
8.1.10.0040.00417.52
8.1.00.0000.00717.41
8.0.300.0050.00318.77
8.0.290.0080.00016.75
8.0.280.0040.00418.46
8.0.270.0030.00317.27
8.0.260.0000.00716.76
8.0.250.0000.00716.92
8.0.240.0000.00716.98
8.0.230.0000.00717.00
8.0.220.0030.00316.96
8.0.210.0030.00316.91
8.0.200.0000.00616.87
8.0.190.0040.00416.85
8.0.180.0050.00316.78
8.0.170.0030.00516.80
8.0.160.0000.00816.90
8.0.150.0030.00616.80
8.0.140.0030.00616.89
8.0.130.0050.00013.29
8.0.120.0000.00716.84
8.0.110.0040.00416.85
8.0.100.0030.00516.75
8.0.90.0000.00716.90
8.0.80.0060.00916.95
8.0.70.0000.00916.96
8.0.60.0040.00416.83
8.0.50.0000.00716.96
8.0.30.0070.01117.37
8.0.20.0110.00917.09
8.0.10.0040.00416.86
8.0.00.0140.00816.63
7.4.330.0030.00313.02
7.4.320.0000.00616.50
7.4.300.0030.00316.66
7.4.290.0000.00616.52
7.4.280.0030.00716.50
7.4.270.0040.00416.52
7.4.260.0000.00613.28
7.4.250.0040.00416.49
7.4.240.0000.00816.48
7.4.230.0040.00416.36
7.4.220.0080.01616.57
7.4.210.0110.01116.55
7.4.200.0030.00316.71
7.4.190.0050.00216.77
7.4.160.0080.00816.33
7.4.150.0070.01016.56
7.4.140.0150.00916.44
7.4.130.0140.00416.57
7.4.120.0160.00616.45
7.4.110.0130.00616.64
7.4.100.0180.00616.51
7.4.90.0090.00916.43
7.4.80.0060.01319.39
7.4.70.0090.00916.46
7.4.60.0060.00916.59
7.4.50.0060.00016.39
7.4.40.0070.00816.41
7.4.30.0030.01316.71
7.4.00.0080.01014.98
7.3.330.0000.00713.02
7.3.320.0000.00713.08
7.3.310.0030.00316.27
7.3.300.0030.00316.25
7.3.290.0100.00416.26
7.3.280.0070.01016.26
7.3.270.0160.00816.27
7.3.260.0160.00816.43
7.3.250.0170.00816.41
7.3.240.0130.00716.21
7.3.230.0070.01116.29
7.3.210.0110.00516.35
7.3.200.0140.00316.32
7.3.190.0150.00616.30
7.3.180.0080.00816.15
7.3.170.0030.01316.66
7.3.160.0100.00616.26
7.3.120.0080.01014.69
7.3.110.0050.01114.85
7.3.100.0080.00814.71
7.3.90.0040.01114.92
7.3.80.0010.01314.76
7.3.70.0030.01214.75
7.3.60.0030.00714.62
7.3.50.0030.01114.65
7.3.40.0070.01014.57
7.3.30.0070.00714.69
7.3.20.0050.00716.44
7.3.10.0060.00716.50
7.3.00.0060.00816.53
7.2.330.0120.00616.69
7.2.320.0060.01516.68
7.2.310.0060.01116.55
7.2.300.0050.01916.59
7.2.290.0070.01016.52
7.2.250.0080.00815.17
7.2.240.0110.00614.80
7.2.230.0070.01114.81
7.2.220.0030.01214.85
7.2.210.0020.01015.01
7.2.200.0040.00815.12
7.2.190.0080.00714.79
7.2.180.0070.00814.91
7.2.170.0040.01014.88
7.2.130.0100.00716.70
7.2.120.0000.01116.91
7.2.110.0360.01016.77
7.2.100.0140.00316.56
7.2.90.0120.00716.66
7.2.80.0140.00716.72
7.2.70.0060.01216.70
7.2.60.0150.00716.76
7.2.50.0120.00916.69
7.2.40.0110.00716.95
7.2.30.0130.00516.81
7.2.20.0170.00516.93
7.2.10.0110.00716.87
7.2.00.0130.00517.56
7.1.330.0050.00915.99
7.1.320.0080.00515.69
7.1.310.0070.00316.00
7.1.300.0110.00315.95
7.1.290.0070.00815.66
7.1.280.0020.00915.87
7.1.270.0060.00615.77
7.1.260.0050.00715.81
7.1.250.0000.01215.76
7.1.240.0000.00815.61
7.1.230.0110.00615.73
7.1.220.0220.00515.77
7.1.210.0110.01015.76
7.1.200.0130.00615.81
7.1.190.0150.00615.83
7.1.180.0190.00115.76
7.1.170.0080.00815.54
7.1.160.0090.01215.84
7.1.150.0140.00515.81
7.1.140.0150.00415.72
7.1.130.0110.00815.75
7.1.120.0150.00515.81
7.1.110.0120.00615.89
7.1.100.0070.00816.49
7.1.90.0080.00815.76
7.1.80.0150.00715.77
7.1.70.0140.00716.11
7.1.60.0100.01317.05
7.1.50.0120.00916.18
7.1.40.0100.01215.90
7.1.30.0170.00715.93
7.1.20.0140.00815.63
7.1.10.0180.00115.77
7.1.00.0150.01717.94
7.0.330.0060.00615.11
7.0.320.0000.01415.37
7.0.310.0050.01115.30
7.0.300.0140.00515.30
7.0.290.0120.00615.31
7.0.280.0110.00615.49
7.0.270.0140.00215.37
7.0.260.0090.00615.22
7.0.250.0170.00215.51
7.0.240.0110.00515.35
7.0.230.0130.00215.40
7.0.220.0290.00615.29
7.0.210.0200.00115.42
7.0.200.0270.00215.05
7.0.190.0240.00515.45
7.0.180.0100.00915.40
7.0.170.0100.00415.50
7.0.160.0180.01115.21
7.0.150.0140.00515.34
7.0.140.0110.02617.65
7.0.130.0220.00715.52
7.0.120.0170.02417.51
7.0.110.0130.00715.42
7.0.100.0180.00815.51
7.0.90.0170.00715.42
7.0.80.0060.00915.47
7.0.70.0190.00715.33
7.0.60.0080.02417.49
7.0.50.0150.03116.35
7.0.40.0110.03015.74
7.0.30.0140.03415.57
7.0.20.0120.01815.69
7.0.10.0040.02515.67
7.0.00.0040.02015.67
5.6.380.0100.00814.41
5.6.370.0110.00514.46
5.6.360.0090.00814.26
5.6.350.0030.00814.24
5.6.340.0120.00514.17
5.6.330.0120.00614.42
5.6.320.0070.01014.47
5.6.310.0070.00614.07
5.6.300.0100.00514.29
5.6.290.0050.01014.10
5.6.280.0080.02616.45
5.6.270.0070.00814.36
5.6.260.0080.00714.06
5.6.250.0100.00714.01
5.6.240.0100.00414.33
5.6.230.0090.00714.19
5.6.220.0100.00814.14
5.6.210.0090.02616.35
5.6.200.0050.02715.59
5.6.190.0030.03616.17
5.6.180.0150.03116.38
5.6.170.0120.03216.39
5.6.160.0050.03116.27
5.6.150.0070.02915.59
5.6.140.0050.03415.43
5.6.130.0160.02615.54
5.6.120.0060.02316.54
5.6.110.0170.02616.55
5.6.100.0090.01816.42
5.6.90.0040.03616.49
5.6.80.0100.02616.17
5.6.70.0120.00313.98
5.6.60.0100.00114.06
5.6.50.0080.00814.30
5.6.40.0090.00714.06
5.6.30.0070.00913.96
5.6.20.0060.01113.99
5.6.10.0080.00714.20
5.6.00.0060.00814.04
5.5.380.0090.00211.91
5.5.370.0080.00511.84
5.5.360.0080.00311.80
5.5.350.0060.02714.70
5.5.340.0080.02813.86
5.5.330.0060.02214.72
5.5.320.0120.02114.66
5.5.310.0120.03114.58
5.5.300.0070.02913.91
5.5.290.0080.01613.81
5.5.280.0080.02014.80
5.5.270.0090.02814.96
5.5.260.0090.02914.82
5.5.250.0040.03114.74
5.5.240.0090.02714.67
5.5.230.0070.00711.76
5.5.220.0060.00611.78
5.5.210.0100.00111.85
5.5.200.0100.00211.71
5.5.190.0030.00811.87
5.5.180.0060.00811.85
5.5.170.0080.00512.54
5.5.160.0070.00411.86
5.5.150.0070.00511.78
5.5.140.0100.00211.91
5.5.130.0090.00311.72
5.5.120.0080.00311.87
5.5.110.0050.00311.86
5.5.100.0050.00711.71
5.5.90.0090.00311.86
5.5.80.0080.00411.92
5.5.70.0080.00311.77
5.5.60.0090.00311.67
5.5.50.0080.00611.73
5.5.40.0060.00611.67
5.5.30.0060.00511.93
5.5.20.0040.00611.67
5.5.10.0070.00511.88
5.5.00.0080.00311.88
5.4.450.0070.02014.04
5.4.440.0060.01714.38
5.4.430.0080.02814.21
5.4.420.0070.02814.28
5.4.410.0030.03214.27
5.4.400.0120.01314.09
5.4.390.0080.02914.27
5.4.380.0060.01814.13
5.4.370.0090.02914.16
5.4.360.0050.03414.16
5.4.350.0030.03314.13
5.4.340.0100.02714.20
5.4.330.0040.00612.00
5.4.320.0020.03414.30
5.4.310.0130.02314.13
5.4.300.0080.02714.23
5.4.290.0060.01714.17
5.4.280.0080.01714.13
5.4.270.0050.01914.23
5.4.260.0030.03214.06
5.4.250.0040.01714.13
5.4.240.0040.02714.06
5.4.230.0070.02314.06
5.4.220.0050.01914.31
5.4.210.0070.02914.13
5.4.200.0020.02214.22
5.4.190.0050.02914.27
5.4.180.0070.01614.23
5.4.170.0050.02114.18
5.4.160.0050.01914.28
5.4.150.0090.02614.16
5.4.140.0070.01613.30
5.4.130.0050.02413.36
5.4.120.0060.01613.21
5.4.110.0070.02813.23
5.4.100.0060.03013.29
5.4.90.0090.02513.34
5.4.80.0080.02613.26
5.4.70.0050.02913.44
5.4.60.0050.02213.30
5.4.50.0100.02613.33
5.4.40.0060.01513.27
5.4.30.0060.01613.25
5.4.20.0030.03013.32
5.4.10.0070.02613.38
5.4.00.0060.02313.03
5.3.290.0060.02512.58
5.3.280.0070.01712.57
5.3.270.0070.02712.59
5.3.260.0050.01912.55
5.3.250.0030.01912.65
5.3.240.0070.02112.52
5.3.230.0060.02312.53
5.3.220.0100.02012.65
5.3.210.0060.02012.58
5.3.200.0060.02712.55
5.3.190.0070.02912.62
5.3.180.0050.03012.53
5.3.170.0010.03412.62
5.3.160.0010.02112.56
5.3.150.0020.02212.61
5.3.140.0050.01612.61
5.3.130.0070.02912.54
5.3.120.0050.03112.55
5.3.110.0100.02612.57
5.3.100.0040.01912.44
5.3.90.0080.02812.41
5.3.80.0050.02412.32
5.3.70.0060.02712.29
5.3.60.0060.02812.39
5.3.50.0030.02512.37
5.3.40.0050.03012.32
5.3.30.0070.02512.30
5.3.20.0050.02412.24
5.3.10.0060.02712.09
5.3.00.0060.02812.13
5.2.170.0080.01111.13
5.2.160.0090.02111.14
5.2.150.0080.01911.13
5.2.140.0060.01211.14
5.2.130.0060.01411.11
5.2.120.0050.01611.11
5.2.110.0070.02111.08
5.2.100.0070.02011.11
5.2.90.0060.01111.09
5.2.80.0020.02311.02
5.2.70.0040.01711.14
5.2.60.0060.01111.03
5.2.50.0040.02511.04
5.2.40.0030.02111.14
5.2.30.0040.02010.99
5.2.20.0070.01610.99
5.2.10.0040.01110.90
5.2.00.0050.02410.80
5.1.60.0070.01210.44
5.1.50.0030.01910.41
5.1.40.0050.01510.38
5.1.30.0040.01210.63
5.1.20.0020.01810.55
5.1.10.0050.01310.51
5.1.00.0050.01910.42
5.0.50.0030.0199.93
5.0.40.0060.0129.87
5.0.30.0060.0179.84
5.0.20.0040.0139.82
5.0.10.0040.0189.82
5.0.00.0040.0209.79
4.4.90.0030.0099.76
4.4.80.0000.0169.76
4.4.70.0020.0159.76
4.4.60.0030.0109.76
4.4.50.0020.0169.76
4.4.40.0030.0229.76
4.4.30.0020.0089.76
4.4.20.0050.0099.76
4.4.10.0000.0149.76
4.4.00.0020.0209.76
4.3.110.0000.0129.76
4.3.100.0050.0149.76
4.3.90.0040.0119.76
4.3.80.0040.0169.76
4.3.70.0030.0099.76
4.3.60.0040.0149.76
4.3.50.0030.0089.76
4.3.40.0030.0139.76
4.3.30.0030.0109.76
4.3.20.0040.0109.76
4.3.10.0030.0139.76
4.3.00.0030.0119.76

preferences:
43.72 ms | 400 KiB | 5 Q