3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "username............: username home directory......: 00/username mail storage server.: mail-server.example.net status..............: active quota size..........: 1000.000 megabytes quota count.........: no quota forward to..........: username@example.com full name...........: testing:testing offers..............:"; preg_match_all('/\s*(?<key>[^a-z ]+)\.*:\s*(?<value>.+)\s*/i', $string, $matches); var_dump($matches);

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.0130.00718.55
8.3.50.0140.00721.27
8.3.40.0040.01118.97
8.3.30.0060.01220.39
8.3.20.0030.00520.57
8.3.10.0000.00820.92
8.3.00.0050.00322.39
8.2.180.0070.01416.75
8.2.170.0140.00022.96
8.2.160.0030.01020.52
8.2.150.0040.00424.18
8.2.140.0080.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.24
8.2.110.0100.00020.53
8.2.100.0060.00617.97
8.2.90.0030.00518.09
8.2.80.0040.00417.97
8.2.70.0030.00617.47
8.2.60.0060.00317.77
8.2.50.0100.00018.07
8.2.40.0050.00318.22
8.2.30.0070.00019.48
8.2.20.0070.00017.63
8.2.10.0000.00817.84
8.2.00.0060.00317.71
8.1.280.0120.00325.92
8.1.270.0030.00623.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0000.00922.05
8.1.230.0070.00421.03
8.1.220.0120.00017.74
8.1.210.0060.00318.91
8.1.200.0090.00017.35
8.1.190.0040.00417.28
8.1.180.0070.00318.10
8.1.170.0080.00018.67
8.1.160.0070.00018.85
8.1.150.0030.00618.75
8.1.140.0080.00017.52
8.1.130.0030.00317.87
8.1.120.0030.00517.51
8.1.110.0000.00817.45
8.1.100.0040.00417.54
8.1.90.0000.00717.58
8.1.80.0000.00717.56
8.1.70.0000.00717.54
8.1.60.0000.00817.70
8.1.50.0080.00017.54
8.1.40.0000.00817.64
8.1.30.0080.00017.75
8.1.20.0040.00417.69
8.1.10.0040.00417.56
8.1.00.0000.00817.61
8.0.300.0000.00720.20
8.0.290.0040.00417.05
8.0.280.0070.00018.41
8.0.270.0030.00317.23
8.0.260.0030.00318.41
8.0.250.0060.00317.04
8.0.240.0030.00617.07
8.0.230.0000.00716.92
8.0.220.0040.00416.86
8.0.210.0000.00716.88
8.0.200.0030.00317.07
8.0.190.0040.00417.06
8.0.180.0040.00417.00
8.0.170.0030.00617.04
8.0.160.0040.00416.82
8.0.150.0040.00417.03
8.0.140.0070.00017.00
8.0.130.0030.00313.47
8.0.120.0030.00516.89
8.0.110.0070.00017.02
8.0.100.0040.00416.83
8.0.90.0040.00417.05
8.0.80.0120.00917.05
8.0.70.0040.00416.90
8.0.60.0030.00516.89
8.0.50.0070.00016.95
8.0.30.0160.00517.10
8.0.20.0130.00817.41
8.0.10.0000.00717.18
8.0.00.0130.00916.77
7.4.330.0000.00516.68
7.4.320.0030.00316.54
7.4.300.0030.00516.60
7.4.290.0000.00716.59
7.4.280.0030.00316.55
7.4.270.0030.00316.74
7.4.260.0030.00313.42
7.4.250.0040.00416.75
7.4.240.0030.00316.77
7.4.230.0000.00716.75
7.4.220.0130.01016.86
7.4.210.0070.01016.73
7.4.200.0030.00316.79
7.4.190.0040.00416.91
7.4.160.0120.00616.52
7.4.150.0140.00617.40
7.4.140.0100.00917.86
7.4.130.0230.01216.60
7.4.120.0120.00716.53
7.4.110.0090.00916.49
7.4.100.0030.01716.80
7.4.90.0170.00316.61
7.4.80.0100.01019.39
7.4.70.0130.00716.72
7.4.60.0130.01016.50
7.4.50.0030.00616.39
7.4.40.0040.01522.77
7.4.30.0110.00816.78
7.4.00.0060.00915.03
7.3.330.0030.00313.20
7.3.320.0050.00013.22
7.3.310.0040.00416.13
7.3.300.0000.00816.13
7.3.290.0060.00916.33
7.3.280.0070.01316.38
7.3.270.0090.00917.40
7.3.260.0170.01118.24
7.3.250.0130.00716.61
7.3.240.0120.00616.65
7.3.230.0110.00816.39
7.3.210.0120.00616.47
7.3.200.0140.01019.39
7.3.190.0070.01016.42
7.3.180.0110.00716.19
7.3.170.0100.01016.27
7.3.160.0110.00816.30
7.3.120.0080.00814.96
7.2.330.0100.01416.46
7.2.320.0060.01816.68
7.2.310.0040.01416.57
7.2.300.0060.01316.53
7.2.290.0170.00416.68
7.2.60.0070.01016.82
7.2.00.0060.01319.31
7.1.200.0040.00815.88
7.1.100.0000.01318.46
7.1.70.0000.00817.30
7.1.60.0000.02419.17
7.1.50.0120.00916.95
7.1.00.0000.03722.42
7.0.200.0040.00716.66
7.0.140.0030.07321.95
7.0.100.0000.04319.98
7.0.90.0030.04319.86
7.0.80.0130.05019.96
7.0.70.0070.03319.84
7.0.60.0170.03019.93
7.0.50.0100.03320.17
7.0.40.0070.03720.02
7.0.30.0070.04020.08
7.0.20.0070.03720.08
7.0.10.0070.07320.14
7.0.00.0070.04020.12
5.6.280.0000.07721.09
5.6.250.0000.04320.74
5.6.240.0030.04020.66
5.6.230.0170.03720.59
5.6.220.0030.03720.57
5.6.210.0000.03720.73
5.6.200.0130.03721.07
5.6.190.0030.04321.02
5.6.180.0070.04321.08
5.6.170.0030.04320.99
5.6.160.0070.03021.16
5.6.150.0100.04021.02
5.6.140.0170.03021.10
5.6.130.0100.04021.09
5.6.120.0100.03720.95
5.6.110.0030.04321.03
5.6.100.0000.04721.02
5.6.90.0030.04321.05
5.6.80.0070.04320.45
5.6.70.0030.04020.33
5.6.60.0070.06020.30
5.6.50.0000.09020.39
5.6.40.0100.07020.37
5.6.30.0100.07020.43
5.6.20.0100.08020.36
5.6.10.0170.05720.35
5.6.00.0000.05720.44
5.5.380.0070.03320.34
5.5.370.0000.04320.36
5.5.360.0070.03320.38
5.5.350.0070.03320.41
5.5.340.0030.05720.91
5.5.330.0030.03320.82
5.5.320.0000.03720.89
5.5.310.0030.05020.75
5.5.300.0070.03720.89
5.5.290.0030.04320.82
5.5.280.0000.04320.74
5.5.270.0000.04320.79
5.5.260.0230.02320.75
5.5.250.0070.03720.70
5.5.240.0030.04020.21
5.5.230.0030.04320.27
5.5.220.0030.06720.13
5.5.210.0030.08020.29
5.5.200.0100.07720.10
5.5.190.0100.06020.24
5.5.180.0130.07320.23
5.5.160.0100.06020.08
5.5.150.0000.04320.17
5.5.140.0000.08020.20
5.5.130.0100.07720.16
5.5.120.0100.07720.14
5.5.110.0100.07320.20
5.5.100.0070.05020.14
5.5.90.0170.03320.03
5.5.80.0130.07320.04
5.5.70.0030.08320.02
5.5.60.0030.04720.04
5.5.50.0030.07320.05
5.5.40.0030.08020.14
5.5.30.0070.03719.94
5.5.20.0070.04320.04
5.5.10.0030.04020.01
5.5.00.0130.03020.09
5.4.450.0070.03719.23
5.4.440.0030.04019.42
5.4.430.0100.03319.35
5.4.420.0100.03719.46
5.4.410.0100.03319.16
5.4.400.0000.04318.76
5.4.390.0070.03719.04
5.4.380.0070.07019.02
5.4.370.0000.05018.81
5.4.360.0070.04019.12
5.4.350.0030.04319.07
5.4.340.0030.08319.05
5.4.320.0130.07719.03
5.4.310.0130.06718.78
5.4.300.0070.06019.07
5.4.290.0070.07319.06
5.4.280.0070.08019.07
5.4.270.0070.07318.94
5.4.260.0100.06719.04
5.4.250.0070.03719.04
5.4.240.0030.06018.78
5.4.230.0070.07318.78
5.4.220.0030.07018.97
5.4.210.0100.04018.95
5.4.200.0030.08318.94
5.4.190.0070.07019.08
5.4.180.0070.06719.10
5.4.170.0100.07319.01
5.4.160.0170.06318.76
5.4.150.0070.07718.79
5.4.140.0000.07316.37
5.4.130.0030.06016.27
5.4.120.0030.07316.27
5.4.110.0070.07316.34
5.4.100.0070.03716.43
5.4.90.0030.07016.34
5.4.80.0030.07316.42
5.4.70.0030.03316.31
5.4.60.0000.07016.28
5.4.50.0070.04316.21
5.4.40.0030.03316.24
5.4.30.0000.05316.23
5.4.20.0170.06316.33
5.4.10.0030.06316.18
5.4.00.0030.06715.73
5.3.290.0070.07314.57
5.3.280.0100.07314.45
5.3.270.0030.06314.42
5.3.260.0130.06714.52
5.3.250.0070.06714.59
5.3.240.0130.07014.59
5.3.230.0000.04314.59
5.3.220.0200.02014.43
5.3.210.0070.06714.40
5.3.200.0100.06014.51
5.3.190.0070.03314.54
5.3.180.0070.07714.51
5.3.170.0030.03314.56
5.3.160.0070.03014.55
5.3.150.0070.06014.54
5.3.140.0130.06714.56
5.3.130.0030.07014.41
5.3.120.0070.03314.40
5.3.110.0100.06014.45
5.3.100.0070.07013.98
5.3.90.0100.06314.00
5.3.80.0070.06313.97
5.3.70.0030.04013.97
5.3.60.0030.03313.99
5.3.50.0030.07013.94
5.3.40.0070.05713.94
5.3.30.0000.03713.91
5.3.20.0030.05013.68
5.3.10.0030.05713.51
5.3.00.0100.07013.63
5.2.170.0030.06310.99
5.2.160.0070.02711.21
5.2.150.0000.03311.09
5.2.140.0000.06011.00
5.2.130.0100.04711.09
5.2.120.0000.03011.07
5.2.110.0030.02711.09
5.2.100.0130.05311.08
5.2.90.0030.06010.92
5.2.80.0070.04711.08
5.2.70.0030.06011.12
5.2.60.0070.03711.04
5.2.50.0070.05011.08
5.2.40.0030.05010.96
5.2.30.0030.05310.80
5.2.20.0130.02711.02
5.2.10.0070.03310.91
5.2.00.0030.04010.61
5.1.60.0000.03310.05
5.1.50.0070.0409.96
5.1.40.0000.04710.02
5.1.30.0100.05710.38
5.1.20.0070.05010.38
5.1.10.0000.05010.05
5.1.00.0000.0339.89
5.0.50.0070.0438.59
5.0.40.0030.0378.45
5.0.30.0000.0608.42
5.0.20.0070.0178.42
5.0.10.0030.0438.42
5.0.00.0000.0508.42
4.4.90.0000.0238.42
4.4.80.0070.0178.42
4.4.70.0070.0338.42
4.4.60.0030.0178.42
4.4.50.0070.0308.42
4.4.40.0070.0508.42
4.4.30.0000.0378.42
4.4.20.0030.0378.42
4.4.10.0000.0338.42
4.4.00.0000.0478.42
4.3.110.0030.0208.42
4.3.100.0000.0308.42
4.3.90.0000.0378.42
4.3.80.0030.0508.42
4.3.70.0030.0138.42
4.3.60.0030.0338.42
4.3.50.0030.0308.42
4.3.40.0030.0338.42
4.3.30.0000.0178.42
4.3.20.0070.0278.42
4.3.10.0000.0338.42
4.3.00.0000.0308.42

preferences:
48.79 ms | 401 KiB | 5 Q