3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tags = array( array('tag_id' => 1, 'tag_name' => 'Hello', 'album_id' => 1), array('tag_id' => 1, 'tag_name' => 'Hello', 'album_id' => 2), array('tag_id' => 2, 'tag_name' => 'World', 'album_id' => 1), array('tag_id' => 2, 'tag_name' => 'World', 'album_id' => 2), array('tag_id' => 3, 'tag_name' => 'Again', 'album_id' => 3) ); $org_tags = array(); print_r(array_column($tags, 'album_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.70.0100.00316.58
8.3.60.0120.00616.38
8.3.50.0090.00822.05
8.3.40.0080.01118.67
8.3.30.0090.00618.91
8.3.20.0080.00020.34
8.3.10.0100.00723.54
8.3.00.0060.00320.94
8.2.180.0070.01016.38
8.2.170.0110.00722.96
8.2.160.0100.00320.39
8.2.150.0070.00024.18
8.2.140.0100.00724.66
8.2.130.0070.00026.16
8.2.120.0090.00020.75
8.2.110.0060.00319.38
8.2.100.0040.00817.72
8.2.90.0040.00419.07
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0060.00317.91
8.2.50.0050.00318.07
8.2.40.0040.00419.76
8.2.30.0040.00418.21
8.2.20.0040.00417.49
8.2.10.0050.00317.84
8.2.00.0000.00817.60
8.1.280.0100.01025.92
8.1.270.0060.00322.19
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00320.82
8.1.230.0110.00017.45
8.1.220.0050.00317.79
8.1.210.0080.00018.77
8.1.200.0090.00017.23
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0040.00418.64
8.1.160.0040.00421.94
8.1.150.0040.00418.44
8.1.140.0050.00317.32
8.1.130.0080.00017.76
8.1.120.0040.00417.45
8.1.110.0000.00717.39
8.1.100.0000.00817.38
8.1.90.0050.00317.35
8.1.80.0030.00617.39
8.1.70.0000.00717.36
8.1.60.0040.00417.48
8.1.50.0040.00417.37
8.1.40.0060.00317.47
8.1.30.0090.00317.58
8.1.20.0060.00517.50
8.1.10.0020.00517.33
8.1.00.0070.00017.38
8.0.300.0030.00618.77
8.0.290.0040.00416.63
8.0.280.0050.00218.28
8.0.270.0070.00017.11
8.0.260.0000.00718.41
8.0.250.0030.00316.77
8.0.240.0030.00316.74
8.0.230.0000.00616.83
8.0.220.0000.00716.79
8.0.210.0030.00316.87
8.0.200.0030.00316.92
8.0.190.0050.00316.88
8.0.180.0050.00316.84
8.0.170.0050.00316.89
8.0.160.0030.00516.77
8.0.150.0100.00016.71
8.0.140.0090.00016.74
8.0.130.0080.00013.21
8.0.120.0000.00816.77
8.0.110.0000.00716.76
8.0.100.0050.00316.71
8.0.90.0030.00516.64
8.0.80.0090.00616.79
8.0.70.0080.00016.64
8.0.60.0070.00016.77
8.0.50.0040.00416.67
8.0.30.0080.01116.74
8.0.20.0160.00617.40
8.0.10.0070.00016.86
8.0.00.0050.01216.76
7.4.330.0000.00515.08
7.4.320.0070.00016.45
7.4.300.0000.00616.50
7.4.290.0050.00316.42
7.4.280.0030.00516.55
7.4.270.0070.00016.48
7.4.260.0000.00716.43
7.4.250.0040.00416.54
7.4.240.0040.00416.52
7.4.230.0000.00716.50
7.4.220.0070.01116.61
7.4.210.0090.00616.48
7.4.200.0070.00016.43
7.4.190.0000.00716.33
7.4.160.0150.00816.25
7.4.150.0090.01217.40
7.4.140.0080.00917.86
7.4.130.0070.01016.40
7.4.120.0090.00916.33
7.4.110.0090.00916.46
7.4.100.0070.01016.53
7.4.90.0110.00516.38
7.4.80.0070.01519.39
7.4.70.0040.01116.38
7.4.60.0090.01216.32
7.4.50.0000.00916.42
7.4.40.0040.01416.28
7.4.30.0110.00516.46
7.4.00.0100.00814.83
7.3.330.0000.00512.89
7.3.320.0020.00313.11
7.3.310.0040.00416.20
7.3.300.0000.00616.12
7.3.290.0070.00816.16
7.3.280.0110.00716.09
7.3.270.0060.01017.40
7.3.260.0070.01016.20
7.3.250.0130.00816.22
7.3.240.0120.00616.08
7.3.230.0060.00916.39
7.3.210.0100.00616.38
7.3.200.0150.00619.39
7.3.190.0100.00616.35
7.3.180.0080.00816.07
7.3.170.0060.00916.27
7.3.160.0090.00616.09
7.3.120.0080.01014.65
7.3.110.0070.00714.82
7.3.100.0000.01414.90
7.3.90.0040.00814.88
7.3.80.0000.01515.02
7.3.70.0060.00614.56
7.3.60.0060.00614.65
7.3.50.0090.00014.83
7.3.40.0070.00714.75
7.3.30.0060.00314.78
7.3.20.0030.01016.25
7.3.10.0080.00816.52
7.3.00.0060.00916.53
7.2.330.0140.00716.54
7.2.320.0180.00016.48
7.2.310.0060.01016.09
7.2.300.0090.01216.54
7.2.290.0000.01616.50
7.2.250.0030.01614.64
7.2.240.0080.01215.08
7.2.230.0090.00914.96
7.2.220.0070.00715.11
7.2.210.0030.00714.80
7.2.200.0030.00914.85
7.2.190.0030.00914.68
7.2.180.0090.00614.94
7.2.170.0040.01214.82
7.2.00.0030.01019.08
7.1.330.0130.00015.55
7.1.320.0040.00715.75
7.1.310.0000.01415.85
7.1.300.0070.00715.66
7.1.290.0100.00715.69
7.1.280.0000.00915.78
7.1.270.0000.00915.31
7.1.260.0100.00315.62
7.1.100.0030.00618.10
7.1.70.0000.01217.21
7.1.60.0090.00619.46
7.1.50.0060.01316.73
7.1.00.0000.08022.44
7.0.200.0030.00616.79
7.0.140.0030.07722.11
7.0.100.0100.07319.93
7.0.90.0070.07319.96
7.0.80.0100.07319.85
7.0.70.0000.08719.92
7.0.60.0070.07319.96
7.0.50.0200.07020.19
7.0.40.0000.09020.15
7.0.30.0100.08020.13
7.0.20.0170.06320.13
7.0.10.0130.07720.12
7.0.00.0130.08720.10
5.6.250.0030.08320.78
5.6.240.0100.07020.61
5.6.230.0030.07720.67
5.6.220.0070.08020.59
5.6.210.0100.07320.75
5.6.200.0070.08021.04
5.6.190.0200.06721.02
5.6.180.0170.07321.03
5.6.170.0100.08021.07
5.6.160.0070.08321.04
5.6.150.0100.06720.95
5.6.140.0130.04720.93
5.6.130.0100.08021.07
5.6.120.0070.08721.06
5.6.110.0100.08321.00
5.6.100.0070.07321.10
5.6.90.0170.04320.97
5.6.80.0030.04720.48
5.6.70.0070.03720.39
5.6.60.0070.05020.38
5.6.50.0030.06720.47
5.6.40.0070.03720.44
5.6.30.0030.05720.41
5.6.20.0070.06020.43
5.6.10.0000.04020.39
5.6.00.0030.05320.43
5.5.380.0070.07320.54
5.5.370.0170.07320.52
5.5.360.0000.08720.44
5.5.350.0100.05020.45
5.5.340.0070.07720.87
5.5.330.0200.05720.79
5.5.320.0100.07020.80
5.5.310.0100.07720.77
5.5.300.0030.08020.80
5.5.290.0130.08020.91
5.5.280.0130.06720.89
5.5.270.0070.05020.88
5.5.260.0030.04320.88
5.5.250.0170.03020.59
5.5.240.0100.04020.30
5.5.230.0030.04020.20
5.5.220.0030.04320.23
5.5.210.0070.03320.01
5.5.200.0070.03720.13
5.5.190.0030.04020.11
5.5.180.0030.04020.25
5.5.160.0100.05320.25
5.5.150.0000.04320.17
5.5.140.0070.04720.14
5.5.130.0070.04020.12
5.5.120.0000.04720.25
5.5.110.0100.03320.22
5.5.100.0000.04320.04
5.5.90.0100.03020.15
5.5.80.0100.03020.06
5.5.70.0030.04320.07
5.5.60.0030.04319.95
5.5.50.0030.03720.14
5.5.40.0030.04020.13
5.5.30.0070.03719.95
5.5.20.0030.05720.14
5.5.10.0030.06020.13
5.5.00.0030.06719.95
5.4.450.0170.06719.22
5.4.440.0070.08319.45
5.4.430.0100.04019.54
5.4.420.0100.03719.11
5.4.410.0070.04319.26
5.4.400.0030.04018.98
5.4.390.0000.04018.90
5.4.380.0000.04018.95
5.4.370.0000.04018.80
5.4.360.0070.03718.82
5.4.350.0030.04019.07
5.4.340.0000.06019.11
5.4.320.0100.03018.98
5.4.310.0070.04019.07
5.4.300.0030.03719.03
5.4.290.0070.03318.97
5.4.280.0000.04018.81
5.4.270.0130.04018.79
5.4.260.0030.04019.14
5.4.250.0030.03719.02
5.4.240.0070.03319.05
5.4.230.0100.05319.02
5.4.220.0000.03719.11
5.4.210.0030.05318.80
5.4.200.0070.04018.94
5.4.190.0030.03718.96
5.4.180.0000.04018.93
5.4.170.0000.04019.09
5.4.160.0070.06319.10
5.4.150.0030.04319.08
5.4.140.0030.03716.32
5.4.130.0030.04716.23
5.4.120.0070.06716.23
5.4.110.0070.04016.30
5.4.100.0030.07716.27
5.4.90.0100.07016.34
5.4.80.0030.07016.21
5.4.70.0100.04016.21
5.4.60.0070.07016.28
5.4.50.0070.07016.30
5.4.40.0070.07316.33
5.4.30.0100.07016.34
5.4.20.0100.07016.17
5.4.10.0030.07016.36
5.4.00.0030.05715.66
5.3.290.0030.05314.48
5.3.280.0030.04014.55
5.3.270.0030.05014.57
5.3.260.0070.03014.57
5.3.250.0030.04714.54
5.3.240.0070.03014.45
5.3.230.0030.04314.59
5.3.220.0000.04314.53
5.3.210.0000.04014.53
5.3.200.0070.04314.55
5.3.190.0100.07314.54
5.3.180.0100.06314.43
5.3.170.0130.06714.38
5.3.160.0030.08014.51
5.3.150.0130.07014.42
5.3.140.0100.07014.42
5.3.130.0100.07314.51
5.3.120.0170.07014.43
5.3.110.0100.07314.41
5.3.100.0170.07013.99
5.3.90.0030.07314.02
5.3.80.0130.06713.98
5.3.70.0030.07013.78
5.3.60.0100.03713.99
5.3.50.0000.07713.94
5.3.40.0070.07013.91
5.3.30.0100.07313.69
5.3.20.0070.07013.65
5.3.10.0100.07013.64
5.3.00.0070.06713.61
5.2.170.0030.05711.07
5.2.160.0000.06011.14
5.2.150.0070.05311.13
5.2.140.0030.06311.14
5.2.130.0000.06311.05
5.2.120.0030.04011.09
5.2.110.0070.06311.09
5.2.100.0100.05311.10
5.2.90.0070.05311.07
5.2.80.0070.06010.89
5.2.70.0100.05711.16
5.2.60.0030.06311.12
5.2.50.0100.05310.97
5.2.40.0030.04710.79
5.2.30.0100.05711.03
5.2.20.0030.03711.01
5.2.10.0100.05310.93
5.2.00.0030.03710.77
5.1.60.0100.0339.82
5.1.50.0030.04310.00
5.1.40.0100.02310.00
5.1.30.0100.03710.28
5.1.20.0030.05710.41
5.1.10.0070.05310.08
5.1.00.0000.06010.09
5.0.50.0070.0408.49
5.0.40.0100.0378.49
5.0.30.0070.0638.49
5.0.20.0030.0438.49
5.0.10.0100.0438.49
5.0.00.0030.0578.49
4.4.90.0100.0278.49
4.4.80.0030.0238.49
4.4.70.0030.0338.49
4.4.60.0000.0278.49
4.4.50.0030.0308.49
4.4.40.0000.0538.49
4.4.30.0070.0278.49
4.4.20.0070.0308.49
4.4.10.0070.0338.49
4.4.00.0000.0538.49
4.3.110.0070.0308.49
4.3.100.0000.0238.49
4.3.90.0100.0278.49
4.3.80.0070.0508.49
4.3.70.0030.0308.49
4.3.60.0000.0338.49
4.3.50.0030.0308.49
4.3.40.0000.0538.49
4.3.30.0000.0238.49
4.3.20.0070.0338.49
4.3.10.0000.0308.49
4.3.00.0000.0238.49

preferences:
55.68 ms | 401 KiB | 5 Q