3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['attribute' => 'gender', 'value' => 'male'], ['attribute' => 'first_name', 'value' => 'test'], ]; var_export( array_column($array, 'value', 'attribute') );

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.130.0040.00518.48
8.4.120.0050.00523.95
8.4.110.0080.01020.38
8.4.100.0080.00919.05
8.4.90.0110.00820.46
8.4.80.0130.00718.51
8.4.70.0060.00317.84
8.4.60.0040.00418.70
8.4.50.0130.00717.63
8.4.40.0030.00619.62
8.4.30.0070.01318.92
8.4.20.0030.01317.71
8.4.10.0090.00623.70
8.3.260.0100.01016.54
8.3.250.0030.00618.67
8.3.240.0110.00817.04
8.3.230.0090.01116.55
8.3.220.0050.00318.79
8.3.210.0050.00516.53
8.3.200.0040.00416.59
8.3.190.0090.00517.11
8.3.180.0080.01018.32
8.3.170.0130.00317.07
8.3.160.0110.00718.42
8.3.150.0060.01217.18
8.3.140.0060.01016.55
8.3.130.0070.00716.40
8.3.120.0040.00420.75
8.3.110.0040.00420.94
8.3.100.0090.00024.06
8.3.90.0000.00826.77
8.3.80.0090.00018.42
8.3.70.0160.00616.58
8.3.60.0070.00716.38
8.3.50.0100.00719.81
8.3.40.0130.00722.10
8.3.30.0180.00018.46
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0140.00420.19
8.2.280.0090.00920.34
8.2.270.0090.00916.60
8.2.260.0110.00718.92
8.2.250.0050.00318.49
8.2.240.0100.01018.98
8.2.230.0080.00022.58
8.2.220.0060.00337.54
8.2.210.0000.00826.77
8.2.200.0070.00716.38
8.2.190.0110.00418.16
8.2.180.0070.00725.92
8.2.170.0150.00618.96
8.2.160.0110.00422.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0100.00021.06
8.2.100.0090.00319.94
8.2.90.0040.00419.04
8.2.80.0030.00517.97
8.2.70.0060.00317.38
8.2.60.0060.00318.04
8.2.50.0030.00618.07
8.2.40.0000.00918.16
8.2.30.0040.00417.99
8.2.20.0040.00419.04
8.2.10.0040.00418.04
8.2.00.0000.00719.17
8.1.330.0110.00521.82
8.1.320.0090.00917.64
8.1.310.0150.00418.07
8.1.300.0040.00420.01
8.1.290.0110.00030.84
8.1.280.0140.00725.92
8.1.270.0000.00924.66
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0070.00322.16
8.1.230.0100.00017.58
8.1.220.0100.00017.74
8.1.210.0080.00018.77
8.1.200.0030.00617.00
8.1.190.0030.00617.23
8.1.180.0050.00318.10
8.1.170.0040.00418.65
8.1.160.0040.00418.86
8.1.150.0020.00518.47
8.1.140.0050.00217.30
8.1.130.0030.00320.18
8.1.120.0050.00317.38
8.1.110.0120.00417.22
8.1.100.0130.00317.34
8.1.90.0000.01517.42
8.1.80.0150.00017.22
8.1.70.0100.00517.27
8.1.60.0110.00717.35
8.1.50.0190.00017.41
8.1.40.0100.00517.35
8.1.30.0120.00417.51
8.1.20.0090.00917.51
8.1.10.0090.00417.20
8.1.00.0100.00617.29
8.0.300.0070.00018.77
8.0.290.0030.00616.63
8.0.280.0070.00018.29
8.0.270.0040.00417.17
8.0.260.0080.00018.38
8.0.250.0000.00816.93
8.0.240.0100.00516.86
8.0.230.0100.00316.82
8.0.220.0060.00616.80
8.0.210.0080.00416.65
8.0.200.0120.00016.87
8.0.190.0120.00416.88
8.0.180.0110.00516.83
8.0.170.0070.00716.66
8.0.160.0040.01116.75
8.0.150.0150.00016.78
8.0.140.0070.00716.73
8.0.130.0080.00816.67
8.0.120.0130.00316.79
8.0.110.0140.00016.81
8.0.100.0150.00016.80
8.0.90.0140.00016.86
8.0.80.0100.00516.79
8.0.70.0070.00716.67
8.0.60.0050.00916.68
8.0.50.0100.00316.59
8.0.30.0120.00316.71
8.0.20.0140.00016.86
8.0.10.0110.00316.79
7.4.330.0000.00515.55
7.4.320.0050.01016.48
7.4.300.0090.00916.48
7.4.290.0120.00516.39
7.4.280.0080.00616.53
7.4.270.0090.00316.52
7.4.260.0070.00716.40
7.4.250.0100.00216.51
7.4.240.0140.00016.43
7.4.230.0120.00016.52
7.4.220.0040.00716.38
7.4.210.0000.01016.34
7.4.200.0120.00016.42
7.4.190.0040.01016.56
7.4.180.0100.00316.39
7.4.160.0120.00316.38
7.4.150.0080.00816.43
7.4.140.0100.00516.36
7.4.130.0110.00416.36
7.4.120.0140.00016.23
7.4.110.0080.00616.33
7.4.100.0070.00716.27
7.4.90.0120.00216.33
7.4.80.0120.00316.32
7.4.70.0120.00316.32
7.4.60.0100.00516.36
7.4.50.0120.00316.22
7.4.40.0070.00316.06
7.4.30.0070.00316.03
7.4.20.0120.00016.41
7.4.10.0080.00416.34
7.4.00.0070.00716.43

preferences:
27.76 ms | 403 KiB | 5 Q