3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [0 => ['id' => 'one', 'fruit' => 'apple'], 1 => ['id' => 'two', 'fruit' => 'banana']]; var_export(array_column($arr, null, 'id'));

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.5.00.0130.01019.70
8.4.150.0020.00114.05
8.4.140.0130.00917.62
8.4.130.0150.00517.71
8.4.120.0090.01020.47
8.4.110.0080.01119.00
8.4.100.0060.00318.77
8.4.90.0130.00720.31
8.4.80.0070.00418.66
8.4.70.0080.01117.64
8.4.60.0100.01123.84
8.4.50.0030.00620.57
8.4.40.0090.00919.24
8.4.30.0100.01020.13
8.4.20.0100.01017.88
8.4.10.0160.00319.38
8.3.280.0130.01018.17
8.3.270.0140.00916.55
8.3.260.0060.00216.46
8.3.250.0120.00618.71
8.3.240.0100.00916.18
8.3.230.0100.00916.74
8.3.220.0030.00518.68
8.3.210.0040.00316.72
8.3.200.0030.00616.55
8.3.190.0110.00216.75
8.3.180.0090.01116.41
8.3.170.0190.00317.09
8.3.160.0040.01516.68
8.3.150.0140.00018.80
8.3.140.0090.00917.23
8.3.130.0050.00318.45
8.3.120.0040.00420.45
8.3.110.0110.00620.94
8.3.100.0060.00924.06
8.3.90.0060.00626.77
8.3.80.0060.00316.35
8.3.70.0040.01116.74
8.3.60.0100.01016.63
8.3.50.0000.01419.94
8.3.40.0060.00918.92
8.3.30.0140.00018.73
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.290.0110.00722.02
8.2.280.0090.01022.56
8.2.270.0090.00916.95
8.2.260.0040.00418.89
8.2.250.0110.00418.36
8.2.240.0140.00418.93
8.2.230.0080.00022.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0070.00418.16
8.2.190.0090.00916.58
8.2.180.0090.00625.92
8.2.170.0040.01118.96
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0070.00026.16
8.2.110.0060.00619.27
8.2.100.0060.00619.23
8.2.90.0000.00917.50
8.2.80.0030.00518.61
8.2.70.0000.00817.50
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0080.00019.95
8.2.30.0040.00717.97
8.2.20.0000.00720.42
8.2.10.0000.00817.61
8.2.00.0000.00719.17
8.1.330.0100.00821.81
8.1.320.0100.00816.34
8.1.310.0070.00719.99
8.1.300.0030.00618.30
8.1.290.0030.00630.84
8.1.280.0070.01325.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00320.97
8.1.230.0000.01017.70
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.22
8.1.190.0050.00317.22
8.1.180.0080.00018.10
8.1.170.0020.00518.79
8.1.160.0050.00318.82
8.1.150.0050.00318.64
8.1.140.0070.00017.38
8.1.130.0050.00318.75
8.1.120.0000.00717.43
8.1.110.0030.00617.34
8.1.100.0040.00417.39
8.1.90.0040.00417.26
8.1.80.0050.00317.41
8.1.70.0030.00317.42
8.1.60.0040.00417.56
8.1.50.0000.00717.45
8.1.40.0060.00617.35
8.1.30.0160.00617.54
8.1.20.0250.00017.52
8.1.10.0170.00917.32
8.1.00.0160.01017.27
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00718.41
8.0.270.0000.00717.92
8.0.260.0030.00318.37
8.0.250.0070.00016.91
8.0.240.0000.00816.85
8.0.230.0030.00716.83
8.0.220.0030.00316.84
8.0.210.0030.00316.69
8.0.200.0080.00016.76
8.0.190.0000.00816.86
8.0.180.0030.00616.82
8.0.170.0000.00816.84
8.0.160.0090.01016.82
8.0.150.0110.00816.75
8.0.140.0140.00316.63
8.0.130.0140.00516.66
8.0.120.0130.00516.78
8.0.110.0140.00316.73
8.0.100.0160.00416.68
8.0.90.0130.00716.79
8.0.80.0110.00816.77
8.0.70.0140.00516.72
8.0.60.0160.00216.74
8.0.50.0160.00316.75
8.0.30.0100.01016.62
8.0.20.0140.00716.85
8.0.10.0200.00016.94
7.4.330.0050.00015.55
7.4.320.0030.00316.43
7.4.300.0030.00316.58
7.4.290.0080.00016.48
7.4.280.0120.00816.40
7.4.270.0040.00416.43
7.4.260.0030.00916.41
7.4.250.0100.00016.31
7.4.240.0050.00816.37
7.4.230.0040.01116.41
7.4.220.0140.00316.49
7.4.210.0150.00516.41
7.4.200.0170.00316.42
7.4.190.0040.01216.45
7.4.180.0140.00016.57
7.4.160.0150.00316.39
7.4.150.0090.00916.29
7.4.140.0130.00516.27
7.4.130.0180.00016.26
7.4.120.0100.00716.29
7.4.110.0140.00216.35
7.4.100.0160.00316.54
7.4.90.0090.00616.43
7.4.80.0180.00016.26
7.4.70.0130.00316.30
7.4.60.0110.00516.30
7.4.50.0060.01216.24
7.4.40.0120.00416.19
7.4.30.0120.00416.25
7.4.20.0150.00216.29
7.4.10.0190.00016.28
7.4.00.0100.00716.24

preferences:
41.1 ms | 403 KiB | 5 Q