3v4l.org

run code in 300+ PHP versions simultaneously
<?php $records = array( array( 'id' => 2135, 'first_name' => 'John', 'last_name' => 'Doe', ), array( 'id' => 3245, 'first_name' => 'Sally', 'last_name' => 'Smith', ), array( 'id' => 5342, 'first_name' => 'Jane', 'last_name' => 'Jones', ), array( 'id' => 5623, 'first_name' => 'Peter', 'last_name' => 'Doe', ) ); var_dump(array_column($recors, array('id', 'first_name')));

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.0110.00418.80
8.3.30.0040.01120.13
8.3.20.0040.00418.76
8.3.10.0040.00421.21
8.3.00.0000.00719.56
8.2.170.0100.01022.96
8.2.160.0160.00320.57
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00021.00
8.2.110.0040.00720.53
8.2.100.0070.00417.78
8.2.90.0040.00419.08
8.2.80.0070.00019.46
8.2.70.0040.00817.63
8.2.60.0000.00817.90
8.2.50.0060.00318.07
8.2.40.0080.00018.16
8.2.30.0000.00719.41
8.2.20.0050.00317.65
8.2.10.0060.00317.80
8.2.00.0040.00417.74
8.1.270.0000.00723.99
8.1.260.0070.00726.35
8.1.250.0080.00028.09
8.1.240.0040.00422.59
8.1.230.0040.00720.98
8.1.220.0060.00318.77
8.1.210.0040.00418.77
8.1.200.0000.00817.23
8.1.190.0000.00717.53
8.1.180.0030.00518.10
8.1.170.0030.00518.59
8.1.160.0000.00718.76
8.1.150.0040.00418.44
8.1.140.0040.00417.37
8.1.130.0030.00317.82
8.1.120.0070.00017.42
8.1.110.0030.00517.37
8.1.100.0000.00817.28
8.1.90.0030.00417.40
8.1.80.0000.00817.45
8.1.70.0000.00717.36
8.1.60.0040.00417.48
8.1.50.0040.00417.48
8.1.40.0060.00317.40
8.1.30.0070.00017.53
8.1.20.0040.00417.50
8.1.10.0040.00417.46
8.1.00.0040.00417.52
8.0.300.0040.00419.95
8.0.290.0000.00817.05
8.0.280.0000.00718.38
8.0.270.0000.00717.19
8.0.260.0040.00416.73
8.0.250.0020.00516.86
8.0.240.0000.00716.85
8.0.230.0000.00716.90
8.0.220.0070.00016.77
8.0.210.0000.00716.89
8.0.200.0060.00016.92
8.0.190.0060.00317.00
8.0.180.0040.00416.81
8.0.170.0070.00016.73
8.0.160.0040.00416.93
8.0.150.0040.00416.82
8.0.140.0070.00016.76
8.0.130.0000.00513.30
8.0.120.0080.00016.90
8.0.110.0000.00716.89
8.0.100.0070.00016.92
8.0.90.0000.00716.96
8.0.80.0060.00916.95
8.0.70.0070.00016.71
8.0.60.0070.00016.84
8.0.50.0050.00216.95
8.0.30.0090.00917.02
8.0.20.0080.01317.40
8.0.10.0050.00216.96
8.0.00.0070.01216.76
7.4.330.0050.00016.77
7.4.320.0000.00716.43
7.4.300.0030.00316.29
7.4.290.0030.00316.53
7.4.280.0070.00016.44
7.4.270.0000.00816.36
7.4.260.0050.00013.21
7.4.250.0080.00016.43
7.4.240.0000.00716.43
7.4.230.0070.00016.60
7.4.220.0070.01116.50
7.4.210.0060.00916.42
7.4.200.0060.00316.64
7.4.190.0030.00316.47
7.4.160.0100.00616.66
7.4.150.0100.00717.40
7.4.140.0090.01417.86
7.4.130.0060.01216.36
7.4.120.0140.00316.46
7.4.110.0130.00616.31
7.4.100.0100.00716.42
7.4.90.0210.00416.38
7.4.80.0120.00419.39
7.4.70.0110.00516.42
7.4.60.0100.00716.37
7.4.50.0030.00616.42
7.4.40.0040.01222.77
7.4.30.0100.01016.48
7.4.00.0080.00814.83
7.3.330.0050.00013.08
7.3.320.0050.00013.05
7.3.310.0040.00416.19
7.3.300.0060.00016.09
7.3.290.0060.01316.26
7.3.280.0080.00916.20
7.3.270.0040.01817.40
7.3.260.0080.01318.24
7.3.250.0060.01416.28
7.3.240.0080.00816.25
7.3.230.0130.00616.44
7.3.210.0060.01016.34
7.3.200.0130.00919.39
7.3.190.0040.01216.46
7.3.180.0180.00316.22
7.3.170.0090.00616.27
7.3.160.0130.00316.18
7.3.120.0060.01114.78
7.3.110.0100.00714.57
7.3.100.0030.00914.83
7.3.90.0060.00914.67
7.3.80.0030.01314.71
7.3.70.0040.00814.59
7.3.60.0070.00714.63
7.3.50.0040.00414.77
7.3.40.0070.00714.50
7.3.30.0040.01514.65
7.3.20.0030.01016.45
7.3.10.0070.00916.56
7.3.00.0080.00616.42
7.2.330.0140.00316.16
7.2.320.0070.01016.49
7.2.310.0070.01116.59
7.2.300.0100.00716.44
7.2.290.0050.01116.56
7.2.250.0060.01315.05
7.2.240.0080.01114.77
7.2.230.0090.00614.43
7.2.220.0030.00614.73
7.2.210.0030.00814.93
7.2.200.0030.01314.61
7.2.190.0030.00914.65
7.2.180.0000.01114.76
7.2.170.0030.01014.66
7.2.130.0050.01016.58
7.2.120.0060.00616.77
7.2.110.0050.00916.63
7.2.100.0030.01016.62
7.2.90.0070.00416.71
7.2.80.0070.00716.58
7.2.70.0060.00816.61
7.2.60.0070.00816.58
7.2.50.0080.00716.70
7.2.40.0090.00416.67
7.2.30.0050.00516.67
7.2.20.0050.00816.79
7.2.10.0100.00716.59
7.2.00.0060.00917.32
7.1.330.0000.01415.58
7.1.320.0040.00915.67
7.1.310.0060.00615.54
7.1.300.0050.00315.61
7.1.290.0040.00815.51
7.1.280.0030.00615.61
7.1.270.0060.01115.38
7.1.260.0070.00715.71
7.1.250.0050.00515.77
7.1.240.0060.00915.45
7.1.230.0040.00715.64
7.1.220.0140.00015.76
7.1.210.0030.00715.55
7.1.200.0060.00815.75
7.1.190.0090.00015.79
7.1.180.0100.00615.41
7.1.170.0000.01415.71
7.1.160.0110.00415.58
7.1.150.0080.00415.68
7.1.140.0070.00715.57
7.1.130.0040.00815.82
7.1.120.0060.00615.91
7.1.110.0030.00715.77
7.1.100.0000.01315.54
7.1.90.0030.00915.95
7.1.80.0070.00715.79
7.1.70.0060.00617.23
7.1.60.0090.00517.20
7.1.50.0080.00517.26
7.1.40.0070.00617.30
7.1.30.0070.00517.17
7.1.20.0050.00517.18
7.1.10.0030.00917.15
7.1.00.0060.00417.15
7.0.330.0090.00315.43
7.0.320.0030.01015.24
7.0.310.0000.01315.11
7.0.300.0060.00615.33
7.0.290.0070.00715.54
7.0.280.0100.00315.40
7.0.270.0070.00415.40
7.0.260.0060.00615.07
7.0.250.0040.00415.39
7.0.240.0000.01115.16
7.0.230.0000.01015.27
7.0.220.0000.00915.37
7.0.210.0030.00615.41
7.0.200.0060.00616.95
7.0.190.0030.00916.99
7.0.180.0050.01016.93
7.0.170.0070.00316.97
7.0.160.0080.00316.99
7.0.150.0050.00916.93
7.0.140.0070.00217.07
7.0.130.0050.00516.85
7.0.120.0040.00716.92
7.0.110.0050.00417.02
7.0.100.0070.00716.90
7.0.90.0030.00917.09
7.0.80.0020.00717.04
7.0.70.0060.00617.09
7.0.60.0060.00417.08
7.0.50.0050.00617.16
7.0.40.0030.00716.17
7.0.30.0040.00816.07
7.0.20.0030.00916.07
7.0.10.0030.00815.98
7.0.00.0030.00716.11
5.6.380.0070.00413.88
5.6.370.0080.00614.11
5.6.360.0090.00614.36
5.6.350.0000.01514.23
5.6.340.0040.01114.09
5.6.330.0030.00913.86
5.6.320.0060.00914.18
5.6.310.0030.01014.31
5.6.300.0110.01917.46
5.6.290.0030.02517.62
5.6.280.0000.03017.58
5.6.270.0050.02517.35
5.6.260.0020.02817.73
5.6.250.0080.02517.51
5.6.240.0050.03117.45
5.6.230.0100.02317.64
5.6.220.0020.02517.39
5.6.210.0090.02017.44
5.6.200.0030.03917.53
5.6.190.0080.02117.40
5.6.180.0090.02117.56
5.6.170.0030.02617.39
5.6.160.0040.02317.39
5.6.150.0030.02617.38
5.6.140.0030.02917.53
5.6.130.0050.02517.42
5.6.120.0000.02917.45
5.6.110.0050.02717.53
5.6.100.0070.02117.58
5.6.90.0030.02717.31
5.6.80.0060.02217.18
5.6.70.0060.02217.15
5.6.60.0070.04517.18
5.6.50.0020.02717.13
5.6.40.0030.02417.21
5.6.30.0060.02117.21
5.6.20.0080.02017.06
5.6.10.0030.02517.01
5.6.00.0080.02017.16
5.5.380.0050.02514.80
5.5.370.0050.02314.76
5.5.360.0020.02514.63
5.5.350.0020.02614.64
5.5.340.0050.02714.74
5.5.330.0030.02914.80
5.5.320.0030.02914.84
5.5.310.0060.02414.81
5.5.300.0090.01914.83
5.5.290.0020.02714.88
5.5.280.0050.02314.67
5.5.270.0030.02214.78
5.5.260.0070.02014.85
5.5.250.0020.02614.77
5.5.240.0070.01814.79
5.5.230.0050.02014.79
5.5.220.0050.02214.83
5.5.210.0030.02014.77
5.5.200.0080.01814.73
5.5.190.0060.02114.81
5.5.180.0020.02714.69
5.5.170.0060.00310.77
5.5.160.0060.02214.77
5.5.150.0050.01814.76
5.5.140.0050.02314.68
5.5.130.0020.02514.80
5.5.120.0030.02014.76
5.5.110.0020.02314.62
5.5.100.0050.01914.72
5.5.90.0050.01814.65
5.5.80.0050.02114.81
5.5.70.0050.02914.64
5.5.60.0020.02414.71
5.5.50.0010.02314.70
5.5.40.0050.02214.72
5.5.30.0050.04214.69
5.5.20.0060.01814.81
5.5.10.0010.02714.87
5.5.00.0030.02714.73
5.4.450.0020.02615.25
5.4.440.0060.02115.02
5.4.430.0000.02915.08
5.4.420.0020.02614.98
5.4.410.0020.02215.22
5.4.400.0030.02514.89
5.4.390.0070.02114.81
5.4.380.0080.01514.94
5.4.370.0030.02514.80
5.4.360.0050.02214.79
5.4.350.0030.02014.86
5.4.340.0000.03114.91
5.4.330.0030.00611.00
5.4.320.0060.02114.74
5.4.310.0000.02715.01
5.4.300.0080.01914.99
5.4.290.0050.02314.86
5.4.280.0030.02414.91
5.4.270.0030.02214.85
5.4.260.0020.02314.90
5.4.250.0050.02014.90
5.4.240.0020.02515.02
5.4.230.0060.02214.79
5.4.220.0020.02314.76
5.4.210.0050.01914.83
5.4.200.0030.03614.91
5.4.190.0060.02614.88
5.4.180.0020.02514.80
5.4.170.0050.02214.88
5.4.160.0070.02014.68
5.4.150.0050.02114.83
5.4.140.0040.02414.62
5.4.130.0030.02014.71
5.4.120.0000.02414.66
5.4.110.0050.01914.71
5.4.100.0000.02614.68
5.4.90.0070.02114.88
5.4.80.0060.02014.85
5.4.70.0030.02014.70
5.4.60.0050.01714.79
5.4.50.0050.02314.79
5.4.40.0040.02014.81
5.4.30.0020.02314.80
5.4.20.0060.02014.66
5.4.10.0040.02114.70
5.4.00.0070.01714.80
5.3.290.0030.02514.55
5.3.280.0040.02114.44
5.3.270.0000.02614.58
5.3.260.0060.01814.48
5.3.250.0020.02214.57
5.3.240.0050.02214.46
5.3.230.0020.02314.50
5.3.220.0050.02114.55
5.3.210.0070.03114.54
5.3.200.0050.01814.56
5.3.190.0020.02514.46
5.3.180.0020.02014.58
5.3.170.0060.02214.59
5.3.160.0030.02414.57
5.3.150.0050.02014.51
5.3.140.0030.02314.48
5.3.130.0050.02514.56
5.3.120.0080.01714.58
5.3.110.0020.02514.58
5.3.100.0050.02014.48
5.3.90.0040.02314.64
5.3.80.0040.01914.47
5.3.70.0070.02314.44
5.3.60.0100.02314.53
5.3.50.0030.02214.46
5.3.40.0020.02114.50
5.3.30.0040.02214.44
5.3.20.0060.03514.44
5.3.10.0060.01914.44
5.3.00.0000.02214.44
5.2.170.0030.01514.44
5.2.160.0040.01414.44
5.2.150.0000.01814.44
5.2.140.0040.01714.44
5.2.130.0070.01914.44
5.2.120.0030.02014.44
5.2.110.0030.01914.44
5.2.100.0040.02914.44
5.2.90.0050.01814.44
5.2.80.0020.01814.44
5.2.70.0020.02014.44
5.2.60.0010.01914.44
5.2.50.0020.02814.44
5.2.40.0040.01414.44
5.2.30.0020.02114.44
5.2.20.0070.02914.44
5.2.10.0030.01814.44
5.2.00.0030.01514.44
5.1.60.0030.01614.44
5.1.50.0070.01214.44
5.1.40.0050.01814.44
5.1.30.0070.01114.44
5.1.20.0070.01314.44
5.1.10.0000.01714.44
5.1.00.0020.02214.44
5.0.50.0050.02314.44
5.0.40.0020.01414.44
5.0.30.0020.03114.44
5.0.20.0000.01414.44
5.0.10.0030.01214.44
5.0.00.0010.01814.44
4.4.90.0040.00614.44
4.4.80.0050.00814.44
4.4.70.0020.01714.44
4.4.60.0000.01014.44
4.4.50.0020.01114.44
4.4.40.0040.01114.44
4.4.30.0010.01014.44
4.4.20.0040.00814.44
4.4.10.0010.01014.44
4.4.00.0050.01714.44
4.3.110.0040.01014.44
4.3.100.0020.01314.44
4.3.90.0030.00914.44
4.3.80.0020.02814.44
4.3.70.0030.01114.44
4.3.60.0020.01814.44
4.3.50.0020.01114.44
4.3.40.0030.01614.44
4.3.30.0020.01114.44
4.3.20.0040.01514.44
4.3.10.0020.01114.44
4.3.00.0010.01114.44

preferences:
39.91 ms | 400 KiB | 5 Q