3v4l.org

run code in 300+ PHP versions simultaneously
<?php $records = array( array( 'id' => 2135, 'extra' => array( 'jelou' => 'hi', 'first_name' => 'Albert' ), ), array( 'id' => 2145, 'extra' => array( 'jelou' => 'hio', 'first_name' => 'Alberto' ), ), array( 'id' => 2155, 'extra' => array( 'jelou' => 'hia', 'first_name' => 'Alberta' ), ) ); print_r($records) $first_names = array_column($records, 'jelou'); 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)
5.4.340.0070.04319.06
5.4.320.0270.07319.16
5.4.310.0200.04018.87
5.4.300.0230.07719.01
5.4.290.0130.04319.06
5.4.280.0170.04019.06
5.4.270.0100.04319.22
5.4.260.0170.03319.32
5.4.250.0170.03318.94
5.4.240.0170.05318.98
5.4.230.0130.07319.25
5.4.220.0130.03718.85
5.4.210.0130.03719.16
5.4.200.0200.05719.14
5.4.190.0130.04319.30
5.4.180.0200.04019.18
5.4.170.0130.03719.21
5.4.160.0170.03719.15
5.4.150.0130.04018.97
5.4.140.0130.03716.50
5.4.130.0170.04716.65
5.4.120.0170.04316.37
5.4.110.0170.04716.37
5.4.100.0130.03716.58
5.4.90.0130.04316.19
5.4.80.0200.03716.44
5.4.70.0170.06716.54
5.4.60.0130.07316.16
5.4.50.0270.03316.18
5.4.40.0170.03316.39
5.4.30.0330.06716.23
5.4.20.0130.03716.51
5.4.10.0170.04016.52
5.4.00.0170.03315.79
5.3.290.0200.05014.50
5.3.280.0070.04714.57
5.3.270.0130.03714.71
5.3.260.0130.03714.45
5.3.250.0100.05314.46
5.3.240.0270.03014.59
5.3.230.0170.03314.44
5.3.220.0100.04014.36
5.3.210.0230.06714.66
5.3.200.0170.03314.66
5.3.190.0200.03014.57
5.3.180.0400.02714.47
5.3.170.0200.03714.55
5.3.160.0230.05014.42
5.3.150.0100.04014.42
5.3.140.0200.03714.39
5.3.130.0200.03314.59
5.3.120.0170.03714.40
5.3.110.0130.03714.38
5.3.100.0200.04014.10
5.3.90.0170.04013.93
5.3.80.0170.03313.90
5.3.70.0200.03713.97
5.3.60.0200.03713.96
5.3.50.0230.07013.80
5.3.40.0100.04013.83
5.3.30.0170.04013.86
5.3.20.0130.03713.63
5.3.10.0170.03013.70
5.3.00.0130.04013.67
5.2.170.0130.02710.99
5.2.160.0100.03311.30
5.2.150.0070.03310.98
5.2.140.0100.03011.00
5.2.130.0170.02311.02
5.2.120.0100.03011.04
5.2.110.0130.02711.13
5.2.100.0200.03311.25
5.2.90.0030.03710.95
5.2.80.0130.02710.96
5.2.70.0130.03311.03
5.2.60.0100.05311.10
5.2.50.0200.05010.88
5.2.40.0070.03710.84
5.2.30.0070.05010.88
5.2.20.0170.05310.90
5.2.10.0070.03710.78
5.2.00.0070.03010.73
5.1.60.0000.03310.11
5.1.50.0130.03010.11
5.1.40.0170.04310.11
5.1.30.0170.03710.45
5.1.20.0100.03310.39
5.1.10.0030.03010.11
5.1.00.0100.05010.11
5.0.50.0070.02010.11
5.0.40.0030.02010.11
5.0.30.0030.03310.11
5.0.20.0030.03010.11
5.0.10.0070.01710.11
5.0.00.0070.02710.11
4.4.90.0070.03010.11
4.4.80.0030.01710.11
4.4.70.0030.02010.11
4.4.60.0030.01710.11
4.4.50.0070.01710.11
4.4.40.0030.03310.11
4.4.30.0100.03310.11
4.4.20.0070.02010.11
4.4.10.0070.01710.11
4.4.00.0100.02010.11
4.3.110.0030.01710.11
4.3.100.0100.01710.11
4.3.90.0030.01710.11
4.3.80.0070.02310.11
4.3.70.0070.01310.11
4.3.60.0070.01310.11
4.3.50.0000.02010.11
4.3.40.0030.02310.11
4.3.30.0030.01310.11
4.3.20.0000.01710.11
4.3.10.0000.03710.11
4.3.00.0030.03710.11

preferences:
148.38 ms | 1398 KiB | 7 Q