3v4l.org

run code in 300+ PHP versions simultaneously
<?php $records = array(array("a"=>1),array("a"=>2),array("a"=>3)); var_dump($records); $s1 = array_column($records, 'a'); print_r($first_names);

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.0070.01418.43
8.3.50.0090.00921.88
8.3.40.0100.01018.72
8.3.30.0090.00918.74
8.3.20.0070.00720.16
8.3.10.0030.00621.77
8.3.00.0040.00422.39
8.2.180.0150.00616.75
8.2.170.0200.00018.91
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0120.00624.66
8.2.130.0090.00626.16
8.2.120.0110.00017.63
8.2.110.0060.00320.35
8.2.100.0060.00617.97
8.2.90.0030.00619.07
8.2.80.0080.00017.97
8.2.70.0050.00317.63
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0000.00821.20
8.2.30.0000.00917.91
8.2.20.0040.00417.55
8.2.10.0040.00418.03
8.2.00.0050.00318.03
8.1.280.0140.00325.92
8.1.270.0180.00020.38
8.1.260.0100.00726.35
8.1.250.0060.01228.09
8.1.240.0060.00324.01
8.1.230.0040.00719.09
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0090.00317.25
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0000.00818.61
8.1.160.0030.00521.85
8.1.150.0050.00218.85
8.1.140.0060.00317.29
8.1.130.0070.00017.53
8.1.120.0040.00417.40
8.1.110.0070.00017.43
8.1.100.0000.00817.35
8.1.90.0000.00717.41
8.1.80.0070.00017.27
8.1.70.0000.00717.28
8.1.60.0040.00417.46
8.1.50.0000.00817.44
8.1.40.0080.00017.33
8.1.30.0050.00317.40
8.1.20.0040.00417.61
8.1.10.0040.00417.43
8.1.00.0000.00717.26
8.0.300.0070.00018.77
8.0.290.0000.00916.75
8.0.280.0070.00018.37
8.0.270.0000.00717.09
8.0.260.0060.00017.05
8.0.250.0000.00616.95
8.0.240.0030.00316.95
8.0.230.0040.00416.95
8.0.220.0030.00316.88
8.0.210.0000.00716.80
8.0.200.0030.00616.90
8.0.190.0040.00416.94
8.0.180.0040.00416.79
8.0.170.0040.00416.95
8.0.160.0000.00716.77
8.0.150.0000.00816.91
8.0.140.0000.00716.85
8.0.130.0030.00313.34
8.0.120.0050.00316.77
8.0.110.0030.00516.92
8.0.100.0030.00316.87
8.0.90.0040.00416.88
8.0.80.0130.00616.81
8.0.70.0040.00416.88
8.0.60.0000.00816.87
8.0.50.0000.00716.99
8.0.30.0070.00717.13
8.0.20.0090.01017.40
8.0.10.0000.00716.86
8.0.00.0100.00816.72
7.4.330.0020.00515.04
7.4.320.0000.00816.43
7.4.300.0000.00716.51
7.4.290.0000.00816.44
7.4.280.0070.00016.52
7.4.270.0030.00316.53
7.4.260.0050.00316.38
7.4.250.0040.00416.52
7.4.240.0020.00516.52
7.4.230.0000.00816.60
7.4.220.0030.01416.35
7.4.210.0100.00316.59
7.4.200.0050.00216.56
7.4.160.0040.01216.49
7.4.150.0100.00717.40
7.4.140.0130.00517.86
7.4.130.0110.01116.26
7.4.120.0180.00316.43
7.4.110.0190.00316.44
7.4.100.0120.01216.27
7.4.90.0070.01116.13
7.4.80.0080.00819.39
7.4.70.0110.00516.58
7.4.60.0030.01416.25
7.4.50.0000.00616.36
7.4.40.0040.01316.33
7.4.30.0070.01016.55
7.4.00.0000.00814.91
7.3.330.0050.00012.91
7.3.320.0060.00013.00
7.3.310.0040.00416.14
7.3.300.0070.00016.14
7.3.290.0040.01116.21
7.3.280.0100.00516.19
7.3.270.0080.00817.40
7.3.260.0090.00916.27
7.3.250.0090.00916.17
7.3.240.0050.01116.16
7.3.230.0120.00816.39
7.3.210.0070.01116.16
7.3.200.0100.00719.39
7.3.190.0080.00816.32
7.3.180.0040.01216.21
7.3.170.0130.00416.37
7.3.160.0140.00416.37
7.3.120.0080.00414.51
7.3.110.0040.01114.67
7.3.100.0070.00714.61
7.3.90.0090.00614.71
7.3.80.0000.01014.82
7.3.70.0000.01514.54
7.3.60.0090.00314.48
7.3.50.0070.01014.74
7.3.40.0100.00614.40
7.3.30.0000.01514.70
7.3.20.0100.00716.27
7.3.10.0000.01216.52
7.3.00.0040.00716.75
7.2.330.0110.00616.46
7.2.320.0120.00616.50
7.2.310.0100.00716.36
7.2.300.0110.00516.26
7.2.290.0110.00716.38
7.2.240.0060.00915.13
7.2.230.0000.01314.98
7.2.220.0060.00615.00
7.2.210.0110.00414.67
7.2.200.0110.00715.02
7.2.190.0000.01614.85
7.2.180.0130.00314.99
7.2.170.0040.01215.09
7.2.160.0060.01014.51
7.2.150.0070.01116.81
7.2.140.0070.01016.70
7.2.130.0030.01316.62
7.2.120.0070.01116.86
7.2.110.0040.00816.96
7.2.100.0060.00916.61
7.2.90.0070.01016.75
7.2.80.0090.00316.79
7.2.70.0120.00316.84
7.2.60.0060.00816.74
7.2.50.0060.00916.80
7.2.40.0090.00916.81
7.2.30.0040.01216.92
7.2.20.0060.01216.73
7.2.10.0060.01016.54
7.2.00.0030.00918.11
7.1.330.0000.01515.86
7.1.320.0100.00715.55
7.1.310.0030.01015.69
7.1.300.0110.00415.75
7.1.290.0030.01015.61
7.1.280.0030.01415.71
7.1.270.0040.00815.78
7.1.260.0060.01215.70
7.1.250.0080.00815.81
7.1.200.0100.00315.79
7.1.100.0060.00618.11
7.1.70.0060.00616.79
7.1.60.0070.01419.59
7.1.50.0040.01416.73
7.1.00.0000.08022.45
7.0.200.0030.00516.50
7.0.60.0030.06719.75
7.0.50.0100.07717.83
7.0.40.0100.08020.19
7.0.30.0270.07320.21
7.0.20.0330.07320.20
7.0.10.0070.05020.30
7.0.00.0070.05020.22
5.6.280.0000.03320.88
5.6.210.0070.04720.50
5.6.200.0100.07018.21
5.6.190.0100.08320.56
5.6.180.0330.04020.35
5.6.170.0230.03720.35
5.6.160.0070.06020.34
5.6.150.0100.07018.20
5.6.140.0070.08718.12
5.6.130.0030.05718.21
5.6.120.0070.09020.98
5.6.110.0000.04321.13
5.6.100.0100.06321.10
5.6.90.0070.08321.11
5.6.80.0030.04020.38
5.5.350.4230.04020.38
5.5.340.0100.06717.91
5.5.330.0070.04720.43
5.5.320.0170.04320.18
5.5.310.0170.04020.18
5.5.300.0070.04717.91
5.5.290.0000.04318.02
5.5.280.0170.07720.73
5.5.270.0070.08320.66
5.5.260.0300.06020.86
5.5.250.0070.07720.45
5.5.240.0070.07320.00
5.4.450.0730.06019.58
5.4.440.0130.05719.52
5.4.430.0130.05719.41
5.4.420.0130.05319.55
5.4.410.0030.06319.41
5.4.400.0130.05318.90
5.4.390.0100.05719.16
5.4.380.0100.06318.92
5.4.370.0130.05319.30
5.4.360.0200.04718.82
5.4.350.0100.05718.82
5.4.340.0170.05019.12
5.4.320.0070.05718.84
5.4.310.0130.05019.17
5.4.300.0130.05018.92
5.4.290.0170.05019.03
5.4.280.0100.05719.00
5.4.270.0130.05319.33
5.4.260.0200.04319.11
5.4.250.0200.04718.83
5.4.240.0230.05019.02
5.4.230.0070.06019.21
5.4.220.0170.05319.15
5.4.210.0230.05018.99
5.4.200.0100.05316.73
5.4.190.0130.06019.05
5.4.180.0070.06018.88
5.4.170.0170.05318.91
5.4.160.0170.05018.90
5.4.150.0170.05019.04
5.4.140.0200.04716.52
5.4.130.0100.05016.33
5.4.120.0230.03716.39
5.4.110.0030.05716.36
5.4.100.0100.05316.54
5.4.90.0170.05016.34
5.4.80.0170.05016.38
5.4.70.0200.04316.10
5.4.60.0200.05016.18
5.4.50.0130.05016.49
5.4.40.0100.05716.16
5.4.30.0070.05316.47
5.4.20.0100.05316.49
5.4.10.0030.06016.47
5.4.00.0130.05015.86
5.3.290.0100.06014.56
5.3.280.0170.05014.44
5.3.270.0170.05314.53
5.3.260.0200.06714.59
5.3.250.0070.06014.53
5.3.240.0200.05014.47
5.3.230.0170.05014.51
5.3.220.0130.05314.41
5.3.210.0170.05714.55
5.3.200.0170.05014.36
5.3.190.0070.05714.61
5.3.180.0130.05714.48
5.3.170.0100.05714.55
5.3.160.0170.05014.39
5.3.150.0170.05014.43
5.3.140.0100.05314.54
5.3.130.0270.04314.38
5.3.120.0100.05714.39
5.3.110.0200.04714.52
5.3.100.0100.05713.95
5.3.90.0170.04714.00
5.3.80.0230.04013.96
5.3.70.0130.05013.80
5.3.60.0070.05713.79
5.3.50.0170.04713.83
5.3.40.0130.05013.97
5.3.30.0170.04713.77
5.3.20.0270.03713.60
5.3.10.0030.06313.53
5.3.00.0270.04013.42
5.2.170.0130.04011.14
5.2.160.0070.04311.04
5.2.150.0100.04311.04
5.2.140.0100.04710.93
5.2.130.0100.04311.02
5.2.120.0170.03310.95
5.2.110.0130.03711.10
5.2.100.0030.04711.05
5.2.90.0100.05711.09
5.2.80.0100.04311.04
5.2.70.0100.04310.99
5.2.60.0130.04010.95
5.2.50.0100.04310.93
5.2.40.0170.03710.90
5.2.30.0200.03011.05
5.2.20.0170.03310.95
5.2.10.0170.03010.80
5.2.00.0100.04010.78
5.1.60.0070.03710.07
5.1.50.0130.03010.07
5.1.40.0070.0409.89
5.1.30.0130.03310.38
5.1.20.0170.03010.44
5.1.10.0100.03710.02
5.1.00.0130.03010.04
5.0.50.0100.0238.46
5.0.40.0000.0308.40
5.0.30.0070.0408.14
5.0.20.0070.0278.12
5.0.10.0000.0338.09
5.0.00.0100.0408.14
4.4.90.0030.0235.91
4.4.80.0030.0235.89
4.4.70.0000.0275.80
4.4.60.0130.0135.73
4.4.50.0030.0235.74
4.4.40.0030.0375.86
4.4.30.0030.0235.85
4.4.20.0100.0175.81
4.4.10.0030.0235.93
4.4.00.0000.0375.79
4.3.110.0070.0205.75
4.3.100.0000.0235.69
4.3.90.0030.0235.78
4.3.80.0000.0375.79
4.3.70.0000.0235.74
4.3.60.0000.0235.79
4.3.50.0070.0205.72
4.3.40.0100.0275.79
4.3.30.0070.0204.51
4.3.20.0030.0234.39
4.3.10.0030.0204.38
4.3.00.0030.0206.44

preferences:
53.29 ms | 401 KiB | 5 Q