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*(.+)/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.0110.01118.55
8.3.50.0110.01021.14
8.3.40.0070.00718.82
8.3.30.0090.00620.33
8.3.20.0030.00520.53
8.3.10.0080.00020.96
8.3.00.0000.00822.44
8.2.180.0150.00716.63
8.2.170.0080.00822.96
8.2.160.0140.00020.52
8.2.150.0060.00324.18
8.2.140.0070.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00421.31
8.2.110.0040.00819.30
8.2.100.0080.00317.84
8.2.90.0040.00419.04
8.2.80.0040.00417.97
8.2.70.0030.00517.75
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0030.00718.11
8.2.30.0040.00419.53
8.2.20.0040.00417.66
8.2.10.0000.00817.79
8.2.00.0030.00717.78
8.1.280.0070.00725.92
8.1.270.0000.00823.99
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0000.01022.42
8.1.230.0000.01121.03
8.1.220.0040.00418.77
8.1.210.0090.00019.09
8.1.200.0060.00317.35
8.1.190.0040.00417.40
8.1.180.0110.00018.10
8.1.170.0050.00318.59
8.1.160.0040.00418.86
8.1.150.0000.00918.79
8.1.140.0000.00817.61
8.1.130.0000.00717.90
8.1.120.0000.00717.55
8.1.110.0040.00417.44
8.1.100.0000.00717.52
8.1.90.0050.00317.60
8.1.80.0030.00317.45
8.1.70.0000.00817.45
8.1.60.0030.00517.68
8.1.50.0000.00817.53
8.1.40.0080.00017.63
8.1.30.0000.00817.70
8.1.20.0030.00517.82
8.1.10.0060.00317.70
8.1.00.0040.00417.62
8.0.300.0000.01019.85
8.0.290.0070.00017.03
8.0.280.0000.00718.40
8.0.270.0030.00317.25
8.0.260.0030.00316.95
8.0.250.0060.00316.99
8.0.240.0040.00416.96
8.0.230.0050.00217.04
8.0.220.0000.00716.96
8.0.210.0000.00716.98
8.0.200.0000.00717.07
8.0.190.0040.00416.92
8.0.180.0000.00717.03
8.0.170.0000.00717.03
8.0.160.0030.00317.00
8.0.150.0000.00716.91
8.0.140.0000.00716.90
8.0.130.0000.00713.36
8.0.120.0000.00816.98
8.0.110.0060.00316.87
8.0.100.0040.00416.93
8.0.90.0040.00416.77
8.0.80.0030.01316.96
8.0.70.0000.00817.05
8.0.60.0000.00716.96
8.0.50.0000.00716.98
8.0.30.0090.01016.92
8.0.20.0140.00917.40
8.0.10.0080.00017.13
8.0.00.0100.01116.82
7.4.330.0050.00016.91
7.4.320.0040.00416.76
7.4.300.0000.00616.68
7.4.290.0000.00716.68
7.4.280.0000.00716.61
7.4.270.0030.00316.64
7.4.260.0000.00513.44
7.4.250.0050.00316.65
7.4.240.0000.00716.79
7.4.230.0070.00016.79
7.4.220.0160.00316.60
7.4.210.0070.00816.77
7.4.200.0000.00716.85
7.4.190.0000.00716.80
7.4.160.0120.01216.51
7.4.150.0150.00317.40
7.4.140.0080.01017.86
7.4.130.0120.01116.73
7.4.120.0070.01116.70
7.4.110.0090.00916.79
7.4.100.0000.01716.48
7.4.90.0130.00716.63
7.4.80.0130.00819.39
7.4.70.0120.00616.54
7.4.60.0070.01016.70
7.4.50.0080.00016.55
7.4.40.0080.00822.77
7.4.30.0060.01116.39
7.4.00.0030.01414.97
7.3.330.0030.00313.04
7.3.320.0050.00013.11
7.3.310.0040.00416.25
7.3.300.0070.00016.25
7.3.290.0060.01316.24
7.3.280.0100.00616.33
7.3.270.0090.00917.40
7.3.260.0120.00718.24
7.3.250.0130.00516.33
7.3.240.0090.00916.28
7.3.230.0160.00316.39
7.3.210.0110.00716.71
7.3.200.0140.00619.39
7.3.190.0060.01116.39
7.3.180.0070.01616.28
7.3.170.0070.01016.59
7.3.160.0150.00316.68
7.3.120.0030.00914.68
7.2.330.0070.01416.69
7.2.320.0130.00616.58
7.2.310.0040.01416.58
7.2.300.0150.00516.56
7.2.290.0120.00616.61
7.2.00.0060.00919.38
7.1.200.0030.01016.06
7.1.100.0040.00818.21
7.1.70.0040.00417.13
7.1.60.0090.01519.17
7.1.50.0170.00716.72
7.1.00.0000.03722.43
7.0.200.0060.01016.77
7.0.140.0000.07322.01
7.0.60.0170.07021.83
7.0.50.0070.03717.83
7.0.40.0030.05020.34
7.0.30.0130.04720.15
7.0.20.0330.07320.03
7.0.10.0030.04720.34
7.0.00.0070.04320.02
5.6.280.0030.07320.91
5.6.210.0030.04020.74
5.6.200.0130.05318.21
5.6.190.0100.08320.64
5.6.180.0400.05020.68
5.6.170.0330.06020.54
5.6.160.0030.04720.48
5.6.150.0130.07718.15
5.6.140.0070.04318.25
5.6.130.0130.06018.15
5.6.120.0000.04321.01
5.6.110.0100.07720.97
5.6.100.0170.08021.12
5.6.90.0130.06020.99
5.6.80.0070.04720.36
5.5.350.0100.04020.38
5.5.340.0030.07318.02
5.5.330.0070.04020.14
5.5.320.0230.03720.30
5.5.310.0200.04020.12
5.5.300.0070.05717.88
5.5.290.0030.04017.95
5.5.280.0070.08720.77
5.5.270.0070.08320.77
5.5.260.0070.08720.75
5.5.250.0170.05320.61
5.5.240.0170.05320.25
5.4.450.0300.07319.25
5.4.440.0300.05019.20
5.4.430.0270.05019.32
5.4.420.0270.04019.19
5.4.410.0270.04019.08
5.4.400.0230.05319.20
5.4.390.0330.04718.87
5.4.380.0230.04019.04
5.4.370.0270.04019.26
5.4.360.0330.07719.13
5.4.350.0300.05319.16
5.4.340.0370.06018.93
5.4.320.0300.07319.04
5.4.310.0230.05019.16
5.4.300.0330.07319.16
5.4.290.0300.05019.16
5.4.280.0270.03718.97
5.4.270.0330.06718.92
5.4.260.0300.07019.12
5.4.250.0330.03719.15
5.4.240.0230.04718.99
5.4.230.0270.03718.99
5.4.220.0370.07318.99
5.4.210.0370.06719.15
5.4.200.0270.04018.96
5.4.190.0330.04719.07
5.4.180.0330.07318.86
5.4.170.0400.06319.09
5.4.160.0430.03318.86
5.4.150.0400.06319.02
5.4.140.0370.04016.25
5.4.130.0330.04016.33
5.4.120.0300.04016.23
5.4.110.0300.06016.38
5.4.100.0300.05716.32
5.4.90.0330.05716.35
5.4.80.0300.04716.23
5.4.70.0500.05316.30
5.4.60.0230.05016.27
5.4.50.0330.06716.18
5.4.40.0300.06716.46
5.4.30.0300.04316.54
5.4.20.0300.04316.51
5.4.10.0270.04716.36
5.4.00.0300.03715.82
5.3.290.0370.06314.56
5.3.280.0400.06314.56
5.3.270.0400.06714.54
5.3.260.0300.07314.58
5.3.250.0300.04314.54
5.3.240.0270.07014.62
5.3.230.0470.02714.52
5.3.220.0270.04314.52
5.3.210.0330.04014.53
5.3.200.0400.05314.50
5.3.190.0330.03714.35
5.3.180.0370.07314.51
5.3.170.0200.08314.54
5.3.160.0370.04314.54
5.3.150.0270.04714.49
5.3.140.0330.04014.50
5.3.130.0330.06714.48
5.3.120.0370.03014.51
5.3.110.0300.04314.36
5.3.100.0230.04014.12
5.3.90.0200.04013.92
5.3.80.0330.06713.80
5.3.70.0270.03713.96
5.3.60.0170.06313.79
5.3.50.0230.03713.76
5.3.40.0200.04013.88
5.3.30.0370.05313.88
5.3.20.0300.06313.63
5.3.10.0130.05713.60
5.3.00.0200.05713.56
5.2.170.0230.02311.02
5.2.160.0200.02711.30
5.2.150.0100.03311.22
5.2.140.0230.06011.03
5.2.130.0170.03011.09
5.2.120.0170.03011.08
5.2.110.0170.03711.03
5.2.100.0130.03011.09
5.2.90.0170.03010.98
5.2.80.0200.02710.95
5.2.70.0230.02711.06
5.2.60.0270.02311.05
5.2.50.0130.05311.00
5.2.40.0270.03710.96
5.2.30.0200.06010.82
5.2.20.0130.03310.95
5.2.10.0300.05310.76
5.2.00.0270.04710.60
5.1.60.0330.03310.09
5.1.50.0200.05710.05
5.1.40.0270.0239.95
5.1.30.0130.03310.42
5.1.20.0100.03010.40
5.1.10.0130.02710.21
5.1.00.0170.02310.03
5.0.50.0070.0278.45
5.0.40.0100.0208.30
5.0.30.0100.0378.12
5.0.20.0070.0408.34
5.0.10.0070.0208.22
5.0.00.0100.0508.06
4.4.90.0100.0337.83
4.4.80.0070.0177.83
4.4.70.0100.0377.83
4.4.60.0130.0337.83
4.4.50.0130.0277.83
4.4.40.0170.0477.83
4.4.30.0130.0207.83
4.4.20.0030.0207.83
4.4.10.0100.0107.83
4.4.00.0100.0207.83
4.3.110.0030.0207.83
4.3.100.0070.0137.83
4.3.90.0100.0137.83
4.3.80.0170.0277.83
4.3.70.0100.0277.83
4.3.60.0070.0307.83
4.3.50.0070.0137.83
4.3.40.0100.0507.83
4.3.30.0030.0277.83
4.3.20.0030.0177.83
4.3.10.0030.0177.83
4.3.00.0030.0137.83

preferences:
39.54 ms | 401 KiB | 5 Q