3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userdb = array( array( 'uid' => '100', 'name' => 'Sandra Shush', 'pic_square' => 'urlof100' ), array( 'uid' => '5465', 'name' => 'Stefanie Mcmohn', 'pic_square' => 'urlof100' ), array( 'uid' => '40489', 'name' => 'Michael', 'pic_square' => 'urlof40489' ) ); // uid will be key and name will be its value $temp = array_column($userdb, 'name','uid'); echo $temp[100];

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.4.140.0120.00917.66
8.4.130.0150.00517.63
8.4.120.0120.00820.53
8.4.110.0140.00617.58
8.4.100.0130.00817.55
8.4.90.0080.01220.66
8.4.80.0110.00917.68
8.4.70.0040.00417.58
8.4.60.0070.00218.63
8.4.50.0110.00719.61
8.4.40.0110.00620.57
8.4.30.0160.00318.79
8.4.20.0030.01620.48
8.4.10.0100.01019.43
8.3.270.0110.01016.30
8.3.260.0130.00716.36
8.3.250.0070.01120.50
8.3.240.0080.00916.67
8.3.230.0060.00316.42
8.3.220.0080.00017.22
8.3.210.0100.00716.53
8.3.200.0060.00316.68
8.3.190.0140.00518.85
8.3.180.0120.00616.16
8.3.170.0050.00216.51
8.3.160.0150.00318.26
8.3.150.0080.00018.80
8.3.140.0050.00316.46
8.3.130.0160.00316.27
8.3.120.0160.00320.76
8.3.110.0000.01520.94
8.3.100.0030.00524.06
8.3.90.0030.00626.77
8.3.80.0130.00517.97
8.3.70.0090.00918.30
8.3.60.0070.00718.31
8.3.50.0130.00916.52
8.3.40.0030.01318.58
8.3.30.0140.00018.51
8.3.20.0040.00421.78
8.3.10.0040.00421.60
8.3.00.0030.00623.40
8.2.290.0060.00216.46
8.2.280.0110.00620.16
8.2.270.0130.00317.05
8.2.260.0070.00316.50
8.2.250.0040.00416.92
8.2.240.0100.01019.05
8.2.230.0030.00522.58
8.2.220.0030.00737.54
8.2.210.0080.00026.77
8.2.200.0040.00716.63
8.2.190.0100.01016.58
8.2.180.0070.01116.50
8.2.170.0110.00422.96
8.2.160.0100.00720.39
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00021.04
8.2.110.0030.00720.94
8.2.100.0040.00817.87
8.2.90.0050.00318.03
8.2.80.0040.00417.97
8.2.70.0090.00017.93
8.2.60.0040.00418.18
8.2.50.0040.00418.10
8.2.40.0040.00421.05
8.2.30.0040.00419.25
8.2.20.0000.00718.14
8.2.10.0040.00418.80
8.2.00.0040.00319.30
8.1.330.0140.00615.96
8.1.320.0080.00717.83
8.1.310.0170.00018.55
8.1.300.0140.00420.28
8.1.290.0000.00918.88
8.1.280.0070.01425.92
8.1.270.0080.00022.60
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0050.00323.76
8.1.230.0090.00322.75
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0070.00317.23
8.1.190.0060.00317.13
8.1.180.0080.00018.10
8.1.170.0000.00818.59
8.1.160.0000.00718.73
8.1.150.0080.00018.86
8.1.140.0050.00218.82
8.1.130.0000.00719.96
8.1.120.0000.00817.42
8.1.110.0070.00017.41
8.1.100.0040.00417.39
8.1.90.0020.00517.27
8.1.80.0040.00417.34
8.1.70.0030.00517.39
8.1.60.0000.00817.41
8.1.50.0040.00417.43
8.1.40.0000.00917.49
8.1.30.0070.00017.54
8.1.20.0080.00017.59
8.1.10.0000.00817.66
8.1.00.0030.00517.53
8.0.300.0040.00419.57
8.0.290.0080.00016.63
8.0.280.0040.00418.32
8.0.270.0000.00716.80
8.0.260.0050.00318.34
8.0.250.0030.00316.91
8.0.240.0000.00817.01
8.0.230.0000.00716.90
8.0.220.0000.00716.86
8.0.210.0000.00716.73
8.0.200.0030.00316.77
8.0.190.0030.00516.90
8.0.180.0040.00416.71
8.0.170.0040.00416.84
8.0.160.0050.00216.87
8.0.150.0060.00316.77
8.0.140.0040.00416.66
8.0.130.0030.00313.12
8.0.120.0070.00016.75
8.0.110.0000.00716.78
8.0.100.0000.00716.70
8.0.90.0040.00416.71
8.0.80.0080.00816.88
8.0.70.0040.00416.82
8.0.60.0050.00316.65
8.0.50.0000.00716.85
8.0.30.0080.01217.12
8.0.20.0070.01317.10
8.0.10.0000.00816.98
8.0.00.0110.00716.70
7.4.330.0050.00215.55
7.4.320.0030.00316.47
7.4.300.0030.00316.51
7.4.290.0040.00416.57
7.4.280.0030.00516.49
7.4.270.0030.00316.52
7.4.260.0070.00016.54
7.4.250.0040.00416.41
7.4.240.0030.00416.52
7.4.230.0030.00316.60
7.4.220.0000.00716.39
7.4.210.0080.00616.47
7.4.200.0070.00016.50
7.4.160.0080.00816.41
7.4.140.0130.00317.86
7.4.130.0100.00716.51
7.4.120.0030.01416.56
7.4.110.0150.00316.71
7.4.100.0140.00316.54
7.4.90.0070.01016.48
7.4.80.0080.00819.39
7.4.70.0070.01016.62
7.4.60.0090.00616.43
7.4.50.0030.01316.61
7.4.40.0100.00716.57
7.4.00.0050.01215.01
7.3.330.0000.00512.98
7.3.320.0050.00013.18
7.3.310.0070.00016.19
7.3.300.0030.00316.18
7.3.290.0000.00616.07
7.3.280.0090.00616.15
7.3.260.0080.00916.44
7.3.240.0070.01016.56
7.3.230.0120.00916.23
7.3.210.0060.01416.48
7.3.200.0100.01016.35
7.3.190.0120.00316.48
7.3.180.0070.01016.30
7.3.170.0130.00316.41
7.3.160.0090.00916.45
7.3.120.0100.01014.74
7.3.110.0040.01414.60
7.3.100.0070.00314.65
7.3.90.0070.01014.80
7.3.80.0000.01514.75
7.3.70.0130.00714.78
7.3.60.0080.00314.60
7.3.50.0100.00514.64
7.3.40.0070.00714.74
7.3.30.0060.01114.61
7.3.20.0060.00816.60
7.3.10.0090.00916.29
7.3.00.0030.00916.39
7.2.330.0070.01016.41
7.2.320.0140.00316.65
7.2.310.0080.00816.58
7.2.300.0110.00716.78
7.2.290.0050.01116.43
7.2.250.0070.01014.86
7.2.240.0040.01115.07
7.2.230.0130.00314.80
7.2.220.0060.01314.89
7.2.210.0070.01315.04
7.2.200.0120.00614.84
7.2.190.0050.00815.00
7.2.180.0020.01714.86
7.2.170.0070.01014.94
7.2.160.0100.00314.79
7.2.150.0000.01116.89
7.2.140.0060.00616.61
7.2.130.0150.00016.98
7.2.120.0030.00917.02
7.2.110.0080.00416.88
7.2.100.0090.01216.75
7.2.90.0140.00717.03
7.2.80.0140.00816.52
7.2.70.0080.00416.91
7.2.60.0030.01516.57
7.2.50.0110.00417.03
7.2.40.0170.00716.60
7.2.30.0060.00916.64
7.2.20.0140.01016.70
7.2.10.0060.00916.96
7.2.00.0070.01016.87
7.1.330.0030.00915.45
7.1.320.0000.00915.86
7.1.310.0070.01015.84
7.1.300.0050.01015.59
7.1.290.0050.00815.72
7.1.280.0100.00915.71
7.1.270.0090.00615.80
7.1.260.0120.00415.62
7.1.250.0110.00315.96

preferences:
25.64 ms | 403 KiB | 5 Q