3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ 0 => [ 'regulations_label' => 'Europe', 'groups_label' => 'G1', 'filters_label' => 'FF1' ], 1 => [ 'regulations_label' => 'Europe', 'groups_label' => 'G1', 'filters_label' => 'FF900' ], 2 => [ 'regulations_label' => 'Europe', 'groups_label' => 'G1', 'filters_label' => 'FF324234' ], 3 => [ 'regulations_label' => 'Europe', 'groups_label' => 'G2', 'filters_label' => 'FF23942' ], 4 => [ 'regulations_label' => 'America', 'groups_label' => 'G29', 'filters_label' => 'FF3242' ], 5 => [ 'regulations_label' => 'America', 'groups_label' => 'G29', 'filters_label' => 'FF78978' ], 6 => [ 'regulations_label' => 'America', 'groups_label' => 'G29', 'filters_label' => 'FF48395043' ], 7 => [ 'regulations_label' => 'Asia', 'groups_label' => 'G2000', 'filters_label' => 'FF7' ] ]; $group = []; foreach($data as $v){ $group[$v['regulations_label']][$v['groups_label']][] = $v['filters_label']; } echo '<pre>'; print_r($group);

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.130.0000.00816.46
8.3.120.0100.01318.76
8.3.110.0000.01520.94
8.3.100.0160.00324.06
8.3.90.0030.00626.77
8.3.80.0070.00319.36
8.3.70.0150.00016.58
8.3.60.0110.00418.55
8.3.50.0160.00517.36
8.3.40.0070.01018.59
8.3.30.0100.01018.67
8.3.20.0040.00421.76
8.3.10.0040.00421.91
8.3.00.0060.00323.60
8.2.250.0040.00416.48
8.2.240.0090.00017.14
8.2.230.0000.00922.58
8.2.220.0120.00637.54
8.2.210.0000.00726.77
8.2.200.0040.00718.88
8.2.190.0040.01118.54
8.2.180.0170.00025.92
8.2.170.0070.00718.95
8.2.160.0070.00722.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00319.48
8.2.110.0060.00321.09
8.2.100.0080.00417.91
8.2.90.0090.00019.89
8.2.80.0080.00020.43
8.2.70.0000.00817.63
8.2.60.0080.00017.63
8.2.50.0030.00618.07
8.2.40.0080.00018.34
8.2.30.0040.00418.12
8.2.20.0030.00518.19
8.2.10.0040.00419.25
8.2.00.0000.00719.16
8.1.300.0190.00319.82
8.1.290.0050.00530.84
8.1.280.0110.00425.92
8.1.270.0070.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.11
8.1.230.0040.00820.95
8.1.220.0030.00517.74
8.1.210.0050.00318.84
8.1.200.0060.00317.35
8.1.190.0050.00317.40
8.1.180.0060.00318.10
8.1.170.0000.00820.20
8.1.160.0000.00718.93
8.1.150.0050.00219.00
8.1.140.0070.00018.93
8.1.130.0030.00520.14
8.1.120.0070.00317.48
8.1.110.0000.00917.39
8.1.100.0000.00717.36
8.1.90.0000.00817.49
8.1.80.0000.00817.34
8.1.70.0030.00317.48
8.1.60.0030.00617.61
8.1.50.0040.00417.58
8.1.40.0000.00817.49
8.1.30.0040.00417.48
8.1.20.0100.00017.63
8.1.10.0080.00017.47
8.1.00.0000.00717.39
8.0.300.0040.00420.00
8.0.290.0000.00716.63
8.0.280.0030.00318.54
8.0.270.0040.00417.26
8.0.260.0030.00318.44
8.0.250.0000.00716.82
8.0.240.0000.00817.02
8.0.230.0060.00316.99
8.0.220.0000.00716.82
8.0.210.0050.00516.90
8.0.200.0030.00716.80
8.0.190.0000.00716.90
8.0.180.0070.00016.92
8.0.170.0000.00916.84
8.0.160.0000.00816.92
8.0.150.0000.00916.78
8.0.140.0000.00716.85
8.0.130.0000.00613.38
8.0.120.0050.00316.95
8.0.110.0060.00316.84
8.0.100.0040.00416.91
8.0.90.0080.00016.77
8.0.80.0120.00316.96
8.0.70.0040.00416.76
8.0.60.0000.00716.87
8.0.50.0040.00416.71
8.0.30.0100.01017.23
8.0.20.0110.00817.01
8.0.10.0080.00016.90
8.0.00.0040.01316.81
7.4.330.0060.00015.55
7.4.320.0030.00316.57
7.4.300.0060.00016.47
7.4.290.0030.00416.52
7.4.280.0080.00016.45
7.4.270.0030.00316.57
7.4.260.0080.00016.40
7.4.250.0080.00016.56
7.4.240.0000.00716.47
7.4.230.0000.00716.48
7.4.220.0050.00316.30
7.4.210.0080.00916.56
7.4.200.0070.00016.58
7.4.160.0120.00716.46
7.4.140.0130.01017.86
7.4.130.0090.00916.55
7.4.120.0070.01016.60
7.4.110.0060.01116.53
7.4.100.0060.01116.47
7.4.90.0090.00616.46
7.4.80.0220.00319.39
7.4.70.0030.01316.33
7.4.60.0130.00316.57
7.4.50.0000.01316.48
7.4.40.0090.01016.60
7.4.10.0110.00714.92
7.4.00.0090.00514.92
7.3.330.0050.00013.22
7.3.320.0030.00313.09
7.3.310.0040.00416.29
7.3.300.0030.00316.32
7.3.290.0030.00316.19
7.3.280.0100.00916.31
7.3.260.0070.01216.46
7.3.240.0100.00716.50
7.3.230.0100.00716.52
7.3.210.0100.00716.34
7.3.200.0090.00916.46
7.3.190.0080.01516.33
7.3.180.0100.00716.35
7.3.170.0130.00616.43
7.3.160.0100.01316.29
7.3.130.0070.01114.90
7.3.120.0090.00914.70
7.3.110.0060.00914.66
7.3.100.0050.00814.85
7.3.90.0080.00814.89
7.3.80.0080.00414.80
7.3.70.0070.00714.87
7.3.60.0080.00614.79
7.3.50.0110.00714.78
7.3.40.0060.00514.82
7.3.30.0070.00514.66
7.3.20.0070.00816.64
7.3.10.0040.00916.66
7.3.00.0060.00716.49
7.2.330.0120.00616.43
7.2.320.0060.01216.71
7.2.310.0080.00816.58
7.2.300.0110.00716.32
7.2.290.0060.00916.64
7.2.260.0100.00715.18
7.2.250.0030.01315.33
7.2.240.0050.01014.97
7.2.230.0060.00815.10
7.2.220.0050.00914.87
7.2.210.0070.00314.87
7.2.200.0100.00315.15
7.2.190.0060.01115.03
7.2.180.0070.00515.00
7.2.170.0050.00714.92
7.2.160.0090.00414.94
7.2.150.0050.01116.69
7.2.140.0070.00716.81
7.2.130.0110.00816.91
7.2.120.0070.00716.83
7.2.110.0120.00516.74
7.2.100.0030.01016.86
7.2.90.0020.01017.03
7.2.80.0060.00616.77
7.2.70.0090.00616.77
7.2.60.0050.01016.89
7.2.50.0060.00716.73
7.2.40.0030.01217.01
7.2.30.0070.00816.98
7.2.20.0050.00916.88
7.2.10.0070.00816.68
7.2.00.0070.00916.95
7.1.330.0090.00315.71
7.1.320.0080.00515.65
7.1.310.0020.01215.83
7.1.300.0070.00915.74
7.1.290.0050.00715.70
7.1.280.0040.00915.60
7.1.270.0060.01215.80
7.1.260.0050.00815.81
7.1.250.0050.00915.78
7.1.240.0040.01115.88
7.1.230.0090.00915.91
7.1.220.0100.00615.71
7.1.210.0000.01215.94
7.1.200.0070.00715.88
7.1.190.0040.00415.61
7.1.180.0070.01115.81
7.1.170.0080.00416.00
7.1.160.0040.00415.95
7.1.150.0000.01315.90
7.1.140.0030.00515.83
7.1.130.0030.01015.96
7.1.120.0050.00515.92
7.1.110.0070.00715.91
7.1.100.0040.00415.75
7.1.90.0090.00616.05
7.1.80.0030.01015.73
7.1.70.0060.01015.96
7.1.60.0060.00915.52
7.1.50.0030.01015.75
7.1.40.0030.00915.75
7.1.30.0060.00615.78
7.1.20.0030.01015.93
7.1.10.0000.01315.85
7.1.00.0030.01015.83

preferences:
28.43 ms | 403 KiB | 5 Q