3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['user_id' => 82, 'ac_type' => 1], ['user_id' => 80, 'ac_type' => 5], ['user_id' => 76, 'ac_type' => 1], ['user_id' => 82, 'ac_type' => 2], ['user_id' => 80, 'ac_type' => 5] ]; var_export(array_values(array_column($array, null, 'user_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.3.60.0090.00618.30
8.3.50.0090.00619.99
8.3.40.0090.00620.55
8.3.30.0140.00318.96
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0050.00427.12
8.2.180.0150.00625.92
8.2.170.0070.00718.79
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0020.00627.12
8.2.120.0040.00427.12
8.2.110.0070.00923.63
8.2.100.0110.00421.60
8.2.90.0090.00821.44
8.2.80.0090.00921.81
8.2.70.0100.00721.37
8.2.60.0110.00621.44
8.2.50.0120.00521.58
8.2.40.0140.00421.66
8.2.30.0080.00521.52
8.2.20.0130.00622.40
8.2.10.0090.00721.63
8.2.00.0060.00622.07
8.1.280.0140.00025.92
8.1.270.0000.00724.66
8.1.260.0050.00727.22
8.1.250.0040.00428.09
8.1.240.0070.00523.42
8.1.230.0040.00922.42
8.1.220.0100.00421.36
8.1.210.0060.00822.16
8.1.200.0040.00721.18
8.1.190.0090.00521.12
8.1.180.0070.00821.46
8.1.170.0080.00521.65
8.1.160.0080.00421.85
8.1.150.0100.00222.36
8.1.140.0110.00321.28
8.1.130.0080.00721.70
8.1.120.0120.00221.29
8.1.110.0070.00821.31
8.1.100.0120.00121.21
8.1.90.0050.00821.31
8.1.80.0050.00821.25
8.1.70.0070.00421.39
8.1.60.0100.00421.33
8.1.50.0110.00421.36
8.1.40.0090.00721.36
8.1.30.0090.00521.51
8.1.20.0130.00421.44
8.1.10.0130.00221.33
8.1.00.0090.00621.32
8.0.300.0080.00521.50
8.0.290.0150.00220.81
8.0.280.0100.00521.42
8.0.270.0120.00521.11
8.0.260.0090.00421.36
8.0.250.0060.00620.92
8.0.240.0100.00520.77
8.0.230.0090.00621.09
8.0.220.0070.00720.82
8.0.210.0110.00520.91
8.0.200.0090.00620.89
8.0.190.0140.00120.94
8.0.180.0110.00620.91
8.0.170.0100.00820.89
8.0.160.0140.00520.95
8.0.150.0120.00420.74
8.0.140.0100.00520.82
8.0.130.0080.00520.92
8.0.120.0130.00520.86
8.0.110.0110.00620.89
8.0.100.0080.00520.80
8.0.90.0080.00320.81
8.0.80.0070.00620.84
8.0.70.0100.00320.81
8.0.60.0160.00420.86
8.0.50.0140.00320.83
8.0.30.0090.00820.80
8.0.20.0120.00820.86
8.0.10.0130.00620.87
7.4.330.0090.00619.29
7.4.320.0090.00420.68
7.4.300.0130.00520.71
7.4.290.0130.00320.63
7.4.280.0120.00620.56
7.4.270.0160.00420.62
7.4.260.0110.00620.62
7.4.250.0110.00320.65
7.4.240.0090.00720.66
7.4.230.0140.00720.61
7.4.220.0160.00520.63
7.4.210.0160.00520.60
7.4.200.0130.00320.65
7.4.190.0110.00720.74
7.4.180.0130.00820.64
7.4.160.0120.00520.71
7.4.150.0110.00320.56
7.4.140.0090.00720.60
7.4.130.0150.00320.53
7.4.120.0100.00320.58
7.4.110.0140.00420.49
7.4.100.0210.00220.59
7.4.90.0170.00720.56
7.4.80.0200.00720.49
7.4.70.0230.00720.49
7.4.60.0220.00420.48
7.4.50.0200.00520.54
7.4.40.0150.00720.39
7.4.30.0230.00420.45
7.4.20.0160.00920.49
7.4.10.0170.00720.42
7.4.00.0140.00420.56

preferences:
29.71 ms | 400 KiB | 5 Q