3v4l.org

run code in 300+ PHP versions simultaneously
<?php $groups="group1, group2, group3,,foo"; $functions="member, member, admin,,bar"; $keys = preg_split('(\s*,+\s*)', $groups); $values = preg_split('(\s*,+\s*)', $functions); $array = array_combine($keys, $values); var_dump($array);

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.30.0030.01418.75
8.3.20.0080.00018.65
8.3.10.0060.00320.66
8.3.00.0080.00021.77
8.2.160.0100.00320.35
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0130.00326.16
8.2.120.0040.00419.71
8.2.110.0080.00021.18
8.2.100.0060.00617.84
8.2.90.0050.00319.23
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0080.00017.93
8.2.50.0060.00318.07
8.2.40.0050.00318.22
8.2.30.0000.00819.80
8.2.20.0040.00417.80
8.2.10.0050.00319.68
8.2.00.0000.00817.88
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0140.00322.34
8.1.230.0120.00020.93
8.1.220.0090.00018.77
8.1.210.0080.00018.78
8.1.200.0060.00317.35
8.1.190.0000.00717.41
8.1.180.0000.00718.10
8.1.170.0050.00318.64
8.1.160.0080.00018.79
8.1.150.0050.00318.66
8.1.140.0040.00417.53
8.1.130.0080.00017.84
8.1.120.0040.00417.46
8.1.110.0080.00017.52
8.1.100.0040.00417.59
8.1.90.0070.00017.50
8.1.80.0000.00817.57
8.1.70.0030.00317.49
8.1.60.0040.00417.54
8.1.50.0040.00417.55
8.1.40.0040.00417.61
8.1.30.0040.00417.62
8.1.20.0030.00617.66
8.1.10.0000.00817.58
8.1.00.0050.00217.54
8.0.300.0070.00319.88
8.0.290.0000.00716.75
8.0.280.0030.00318.30
8.0.270.0090.00017.25
8.0.260.0000.00716.85
8.0.250.0040.00417.02
8.0.240.0100.00017.05
8.0.230.0050.00217.06
8.0.220.0070.00016.99
8.0.210.0000.00716.86
8.0.200.0030.00317.03
8.0.190.0030.00517.03
8.0.180.0000.00717.00
8.0.170.0070.00017.01
8.0.160.0030.00416.84
8.0.150.0030.00516.95
8.0.140.0040.00716.88
8.0.130.0000.00513.43
8.0.120.0000.00816.80
8.0.110.0030.00517.05
8.0.100.0040.00417.03
8.0.90.0040.00416.76
8.0.80.0100.00617.03
8.0.70.0040.00416.79
8.0.60.0030.00516.91
8.0.50.0000.00716.98
8.0.30.0090.01217.03
8.0.20.0100.00917.40
8.0.10.0040.00417.07
8.0.00.0100.01116.71
7.4.330.0050.00013.43
7.4.320.0030.00316.79
7.4.300.0000.00616.54
7.4.290.0000.00816.71
7.4.280.0060.00316.64
7.4.270.0040.00416.59
7.4.260.0000.00613.43
7.4.250.0060.00316.71
7.4.240.0000.00816.66
7.4.230.0020.00516.77
7.4.220.0070.01116.56
7.4.210.0080.00716.73
7.4.200.0000.00816.71
7.4.190.0040.00416.73
7.4.160.0130.00316.58
7.4.150.0060.01317.40
7.4.140.0140.00317.86
7.4.130.0090.00916.71
7.4.120.0070.01016.64
7.4.110.0090.00916.33
7.4.100.0110.00516.76
7.4.90.0110.00716.50
7.4.80.0040.01319.37
7.4.70.0100.00716.47
7.4.60.0150.00316.48
7.4.50.0030.00316.46
7.4.40.0070.00722.27
7.4.30.0100.01316.49
7.4.00.0060.00914.74
7.3.330.0030.00313.18
7.3.320.0080.00012.99
7.3.310.0070.00016.13
7.3.300.0030.00316.25
7.3.290.0070.00716.23
7.3.280.0070.01016.35
7.3.270.0120.00617.40
7.3.260.0120.01018.24
7.3.250.0110.01016.47
7.3.240.0080.00916.52
7.3.230.0110.00616.54
7.3.210.0100.00716.64
7.3.200.0090.00919.39
7.3.190.0090.00916.31
7.3.180.0060.01116.29
7.3.170.0050.01416.52
7.3.160.0110.00716.25
7.3.120.0030.01414.81
7.2.330.0030.01616.52
7.2.320.0030.01416.82
7.2.310.0060.01116.62
7.2.300.0040.01316.62
7.2.290.0070.01016.57
7.2.60.0000.01317.04
7.1.200.0100.00015.68
7.1.70.0100.00317.37
7.1.60.0140.01019.40
7.1.50.0070.01517.07
7.1.00.0100.06722.45
7.0.200.0040.00416.78
7.0.140.0070.07321.99
7.0.70.0130.06021.64
7.0.60.0130.06721.63
7.0.50.0070.08022.14
7.0.40.0000.05019.99
7.0.30.0030.05720.11
7.0.20.0030.04020.10
7.0.10.0000.04720.04
7.0.00.0100.08020.07
5.6.220.0000.05320.43
5.6.210.0070.07720.70
5.6.200.0130.08321.16
5.6.190.0030.08021.04
5.6.180.0000.04321.04
5.6.170.0000.04321.01
5.6.160.0030.07720.94
5.6.150.0000.09020.95
5.6.140.0070.06321.10
5.6.130.0070.08321.06
5.6.120.0070.08721.09
5.6.110.0130.06721.00
5.6.100.0100.07021.03
5.6.90.0100.07320.96
5.6.80.0030.07320.54
5.6.70.0100.06720.50
5.6.60.0030.05020.46
5.6.50.0030.07020.41
5.6.40.0030.04020.45
5.6.30.0070.05320.39
5.6.20.0130.04020.38
5.6.10.0070.07320.51
5.6.00.0070.06020.46
5.5.360.0000.06020.38
5.5.350.0070.07720.36
5.5.340.0100.03720.81
5.5.330.0070.09020.90
5.5.320.0000.11020.75
5.5.310.0100.07020.76
5.5.300.0170.05020.79
5.5.290.0070.05320.88
5.5.280.0070.08720.85
5.5.270.0100.07320.91
5.5.260.0030.06720.81
5.5.250.0100.06020.53
5.5.240.0030.07020.13
5.5.230.0070.06720.14
5.5.220.0070.05320.12
5.5.210.0030.07720.20
5.5.200.0070.05020.23
5.5.190.0000.07720.25
5.5.180.0000.08320.14
5.5.160.0000.04720.17
5.5.150.0070.08020.23
5.5.140.0030.05320.17
5.5.130.0030.06320.26
5.5.120.0070.03720.11
5.5.110.0000.04020.12
5.5.100.0030.03720.06
5.5.90.0030.03719.93
5.5.80.0030.03720.05
5.5.70.0030.03720.08
5.5.60.0100.03020.03
5.5.50.0070.03319.93
5.5.40.0030.03020.04
5.5.30.0070.03320.03
5.5.20.0000.05720.09
5.5.10.0000.04020.01
5.5.00.0030.03719.95
5.4.450.0070.07319.44
5.4.440.0130.06319.38
5.4.430.0000.06719.29
5.4.420.0000.05319.46
5.4.410.0030.08319.29
5.4.400.0000.06019.23
5.4.390.0030.07319.06
5.4.380.0030.07719.01
5.4.370.0070.07019.05
5.4.360.0070.04719.22
5.4.350.0030.05319.09
5.4.340.0030.06319.11
5.4.320.0100.07018.96
5.4.310.0000.05719.02
5.4.300.0070.04719.02
5.4.290.0030.03719.05
5.4.280.0000.05319.22
5.4.270.0070.03319.11
5.4.260.0070.03319.05
5.4.250.0000.04318.77
5.4.240.0030.03318.95
5.4.230.0000.03719.05
5.4.220.0030.03718.93
5.4.210.0000.03719.05
5.4.200.0030.03719.10
5.4.190.0030.03319.03
5.4.180.0030.03019.02
5.4.170.0030.03718.97
5.4.160.0000.03318.94
5.4.150.0000.03318.91
5.4.140.0030.03716.33
5.4.130.0000.04716.20
5.4.120.0000.03016.23
5.4.110.0000.03016.30
5.4.100.0000.03016.20
5.4.90.0000.03716.26
5.4.80.0030.02716.24
5.4.70.0030.02716.26
5.4.60.0000.03016.28
5.4.50.0030.03016.18
5.4.40.0070.02316.46
5.4.30.0000.03016.33
5.4.20.0000.03016.31
5.4.10.0000.03016.32
5.4.00.0000.03015.79
5.3.290.0130.06314.70
5.3.280.0030.03314.70
5.3.270.0030.03014.70
5.3.260.0030.03314.70
5.3.250.0030.02714.70
5.3.240.0030.04714.70
5.3.230.0000.03714.70
5.3.220.0030.02714.70
5.3.210.0030.03314.70
5.3.200.0000.04014.70
5.3.190.0000.03014.70
5.3.180.0030.03714.70
5.3.170.0100.02314.70
5.3.160.0000.03014.70
5.3.150.0000.03014.70
5.3.140.0000.03714.70
5.3.130.0000.03314.70
5.3.120.0030.03014.70
5.3.110.0000.03314.70
5.3.100.0000.03014.70
5.3.90.0000.03014.70
5.3.80.0000.03014.70
5.3.70.0030.02714.70
5.3.60.0000.03014.70
5.3.50.0000.03014.70
5.3.40.0000.03014.70
5.3.30.0030.02714.70
5.3.20.0000.03014.70
5.3.10.0000.02714.70
5.3.00.0000.03014.70
5.2.170.0000.02714.70
5.2.160.0000.02314.70
5.2.150.0000.02314.70
5.2.140.0000.02314.70
5.2.130.0030.02014.70
5.2.120.0030.02014.70
5.2.110.0000.02314.70
5.2.100.0030.02014.70
5.2.90.0030.04714.70
5.2.80.0000.02314.70
5.2.70.0000.03314.70
5.2.60.0000.02314.70
5.2.50.0000.03314.70
5.2.40.0000.02314.70
5.2.30.0000.02314.70
5.2.20.0000.02714.70
5.2.10.0000.02314.70
5.2.00.0030.02014.70
5.1.60.0030.02314.70
5.1.50.0030.03314.70
5.1.40.0030.04314.70
5.1.30.0030.04314.70
5.1.20.0030.06714.70
5.1.10.0070.02014.70
5.1.00.0030.03314.70
5.0.50.0030.03014.70
5.0.40.0000.02014.70
5.0.30.0030.04314.70
5.0.20.0030.04014.70
5.0.10.0000.02714.70
5.0.00.0000.03314.70
4.4.90.0000.01314.70
4.4.80.0000.01314.70
4.4.70.0000.01714.70
4.4.60.0000.01314.70
4.4.50.0000.01314.70
4.4.40.0030.03314.70
4.4.30.0000.03014.70
4.4.20.0030.02014.70
4.4.10.0000.03014.70
4.4.00.0030.02714.70
4.3.110.0030.02014.70
4.3.100.0030.01714.70
4.3.90.0030.02714.70
4.3.80.0070.04314.70
4.3.70.0030.03314.70
4.3.60.0030.02014.70
4.3.50.0030.01714.70
4.3.40.0000.02314.70
4.3.30.0000.02714.70
4.3.20.0000.02014.70
4.3.10.0000.01714.70
4.3.00.0000.01714.70

preferences:
29.87 ms | 401 KiB | 5 Q