3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 1 => ['A' => '1', 'C' => 'TEMU3076746'], 2 => ['A' => '2', 'C' => 'FCIU5412720'], 3 => ['A' => '3', 'C' => 'TEMU3076746'], 4 => ['A' => '4', 'C' => 'TEMU3076746'], 5 => ['A' => '5', 'C' => 'FCIU5412720'] ]; echo count(array_column($arr, 'C', 'C'));

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.120.0130.00723.95
8.4.110.0050.00318.72
8.4.100.0100.00520.76
8.4.90.0070.00420.33
8.4.80.0100.00518.80
8.4.70.0150.00517.60
8.4.60.0090.01217.62
8.4.50.0130.00717.73
8.4.40.0060.01317.86
8.4.30.0170.00320.21
8.4.20.0030.01619.61
8.4.10.0000.00819.39
8.3.250.0110.00818.95
8.3.240.0060.00216.94
8.3.230.0160.00416.64
8.3.220.0080.01218.76
8.3.210.0080.00916.52
8.3.200.0120.00819.04
8.3.190.0110.00716.54
8.3.180.0050.00316.74
8.3.170.0160.00616.64
8.3.160.0070.01116.59
8.3.150.0070.01517.03
8.3.140.0040.01420.65
8.3.130.0040.00418.28
8.3.120.0040.01218.92
8.3.110.0150.00316.48
8.3.100.0060.00324.06
8.3.90.0100.00526.77
8.3.80.0040.00416.50
8.3.70.0110.00718.43
8.3.60.0120.00318.43
8.3.50.0040.01519.98
8.3.40.0110.00318.97
8.3.30.0070.00718.77
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.290.0090.00920.31
8.2.280.0060.00216.27
8.2.270.0070.01118.65
8.2.260.0100.00718.92
8.2.250.0060.00318.28
8.2.240.0040.00417.16
8.2.230.0100.00720.94
8.2.220.0030.00737.54
8.2.210.0070.00726.77
8.2.200.0040.00416.50
8.2.190.0170.00316.58
8.2.180.0090.00925.92
8.2.170.0090.00619.00
8.2.160.0040.01122.96
8.2.150.0080.00025.66
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00419.95
8.2.110.0060.00319.39
8.2.100.0000.01117.91
8.2.90.0030.00619.89
8.2.80.0000.00720.54
8.2.70.0000.00817.48
8.2.60.0040.00418.04
8.2.50.0110.00018.07
8.2.40.0040.00418.06
8.2.30.0040.00418.06
8.2.20.0000.00719.35
8.2.10.0050.00317.55
8.2.00.0040.00419.13
8.1.330.0100.00921.82
8.1.320.0140.00916.15
8.1.310.0080.00016.63
8.1.300.0060.00317.91
8.1.290.0090.00018.88
8.1.280.0170.00325.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00623.86
8.1.230.0050.00520.89
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0090.00017.13
8.1.190.0000.00817.25
8.1.180.0040.00418.10
8.1.170.0030.00618.59
8.1.160.0000.00718.89
8.1.150.0040.00418.51
8.1.140.0000.00717.55
8.1.130.0060.00318.82
8.1.120.0040.00417.36
8.1.110.0070.00017.33
8.1.100.0070.00017.45
8.1.90.0050.00317.42
8.1.80.0070.00517.43
8.1.70.0100.00217.32
8.1.60.0080.00517.43
8.1.50.0070.00417.42
8.1.40.0090.00317.46
8.1.30.0070.00417.60
8.1.20.0070.00617.47
8.1.10.0070.00717.54
8.1.00.0090.00517.32
8.0.300.0000.00720.02
8.0.290.0040.00416.75
8.0.280.0070.00018.33
8.0.270.0040.00416.72
8.0.260.0060.00018.43
8.0.250.0000.00616.95
8.0.240.0040.00416.93
8.0.230.0030.00316.89
8.0.220.0070.00016.70
8.0.210.0100.00216.74
8.0.200.0080.00316.79
8.0.190.0070.00516.91
8.0.180.0080.00416.82
8.0.170.0100.00216.93
8.0.160.0050.00716.89
8.0.150.0040.00716.77
8.0.140.0060.00516.73
8.0.130.0090.00215.11
8.0.120.0100.00716.80
8.0.110.0110.00616.83
8.0.100.0150.00216.82
8.0.90.0090.00716.73
8.0.80.0090.00516.89
8.0.70.0100.00716.72
8.0.60.0130.00316.78
8.0.50.0140.00416.83
8.0.30.0100.00616.69
8.0.20.0140.00216.75
8.0.10.0020.01216.92
8.0.00.0070.00616.96
7.4.330.0000.00415.55
7.4.320.0000.00716.51
7.4.300.0020.00616.60
7.4.290.0020.00816.47
7.4.280.0050.00316.47
7.4.270.0060.00316.47
7.4.260.0080.00214.83
7.4.250.0100.00416.45
7.4.240.0120.00216.49
7.4.230.0130.00316.50
7.4.220.0080.00516.51
7.4.210.0130.00316.47
7.4.200.0080.00616.55
7.4.190.0100.00516.58
7.4.180.0120.00416.64
7.4.160.0110.00416.47
7.4.150.0080.00616.52
7.4.140.0110.00516.37
7.4.130.0040.00816.36
7.4.120.0130.00016.40
7.4.110.0040.01016.45
7.4.100.0110.00216.46
7.4.90.0090.00516.49
7.4.80.0110.00216.48
7.4.70.0050.00816.21
7.4.60.0110.00316.42
7.4.50.0100.00316.28
7.4.40.0100.00316.41
7.4.30.0100.00316.39
7.4.20.0120.00116.37
7.4.10.0100.00416.40
7.4.00.0080.00516.43
7.3.330.0080.00316.16
7.3.320.0060.00414.54
7.3.310.0100.00616.08
7.3.300.0130.00416.13
7.3.290.0080.00716.04
7.3.280.0120.00316.13
7.3.270.0120.00316.00
7.3.260.0130.00216.23
7.3.250.0130.00216.15
7.3.240.0070.00916.18
7.3.230.0120.00316.22
7.3.220.0120.00316.19
7.3.210.0080.00716.15
7.3.200.0120.00316.05
7.3.190.0120.00116.19
7.3.180.0080.00416.08
7.3.170.0130.00116.03
7.3.160.0080.00515.98
7.3.150.0050.00816.05
7.3.140.0110.00316.05
7.3.130.0130.00015.96
7.3.120.0060.00416.15
7.3.110.0100.00216.07
7.3.100.0080.00415.96
7.3.90.0090.00316.29
7.3.80.0050.00716.00
7.3.70.0080.00416.05
7.3.60.0090.00216.17
7.3.50.0040.00716.15
7.3.40.0080.00516.28
7.3.30.0070.00516.16
7.3.20.0040.01017.99
7.3.10.0040.00917.96
7.3.00.0090.00417.91

preferences:
29.51 ms | 403 KiB | 5 Q