3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOT <p><b>There are currently five entries in the London Borough of Barking &amp; Dagenham (LBBD):</b></p> <p>My string 1<br> My another string<br> And this is also my string<br></p> <p><i>Some text over here</i></p> EOT; preg_match_all("/(.+<br>)/", $html, $matches); print_r($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.0000.01416.63
8.3.50.0150.00722.07
8.3.40.0090.00918.96
8.3.30.0070.01119.10
8.3.20.0040.00420.25
8.3.10.0040.00423.61
8.3.00.0040.00419.38
8.2.180.0070.00718.56
8.2.170.0070.00722.96
8.2.160.0120.00320.38
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00722.38
8.2.110.0060.00322.29
8.2.100.0030.00718.03
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0030.00517.75
8.2.60.0050.00317.90
8.2.50.0000.00918.07
8.2.40.0000.00819.88
8.2.30.0030.00619.82
8.2.20.0070.00017.79
8.2.10.0000.00718.06
8.2.00.0040.00817.79
8.1.280.0070.01125.92
8.1.270.0060.00323.87
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00023.84
8.1.230.0040.00719.01
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0030.00617.47
8.1.190.0040.00417.43
8.1.180.0070.00418.10
8.1.170.0040.00418.66
8.1.160.0030.00622.02
8.1.150.0040.00418.72
8.1.140.0040.00417.54
8.1.130.0030.00317.73
8.1.120.0070.00017.60
8.1.110.0000.00817.52
8.1.100.0000.00717.54
8.1.90.0030.00317.48
8.1.80.0000.00717.50
8.1.70.0000.00817.43
8.1.60.0040.00417.67
8.1.50.0080.00017.60
8.1.40.0050.00317.52
8.1.30.0030.00517.74
8.1.20.0030.00517.74
8.1.10.0000.00717.66
8.1.00.0030.00617.56
8.0.300.0080.00018.94
8.0.290.0000.00717.05
8.0.280.0030.00318.52
8.0.270.0000.00717.27
8.0.260.0060.00017.13
8.0.250.0000.00716.99
8.0.240.0000.00817.09
8.0.230.0050.00316.98
8.0.220.0040.00417.07
8.0.210.0000.00717.06
8.0.200.0040.00417.14
8.0.190.0040.00416.98
8.0.180.0050.00216.97
8.0.170.0030.00617.07
8.0.160.0040.00417.05
8.0.150.0050.00217.11
8.0.140.0040.00416.94
8.0.130.0000.00613.50
8.0.120.0000.00816.97
8.0.110.0000.00717.11
8.0.100.0000.00717.01
8.0.90.0000.00716.85
8.0.80.0140.00317.06
8.0.70.0070.00017.04
8.0.60.0000.00816.98
8.0.50.0000.00716.89
8.0.30.0050.01417.22
8.0.20.0090.01017.40
8.0.10.0000.00717.17
8.0.00.0170.01216.75
7.4.330.0030.00315.05
7.4.320.0000.00616.71
7.4.300.0030.00316.56
7.4.290.0070.00016.66
7.4.280.0070.00016.73
7.4.270.0040.00416.74
7.4.260.0020.00516.74
7.4.250.0030.00516.61
7.4.240.0030.00316.75
7.4.230.0000.00716.69
7.4.220.0100.01016.76
7.4.210.0070.00716.72
7.4.200.0030.00316.84
7.4.190.0070.00016.89
7.4.160.0130.01016.81
7.4.150.0090.00917.40
7.4.140.0120.00617.86
7.4.130.0150.00516.68
7.4.120.0090.00816.69
7.4.110.0070.01116.55
7.4.100.0100.00716.59
7.4.90.0140.00316.75
7.4.80.0110.00719.39
7.4.70.0030.01516.71
7.4.60.0090.00616.60
7.4.50.0060.00016.41
7.4.40.0130.01016.53
7.4.30.0030.01316.71
7.4.00.0030.00815.09
7.3.330.0000.00613.06
7.3.320.0000.00813.13
7.3.310.0030.00316.19
7.3.300.0000.00716.30
7.3.290.0040.01116.34
7.3.280.0060.01116.37
7.3.270.0190.00317.40
7.3.260.0100.00616.38
7.3.250.0100.00716.37
7.3.240.0090.00616.34
7.3.230.0160.00016.52
7.3.210.0190.00316.38
7.3.200.0100.01019.39
7.3.190.0140.00716.45
7.3.180.0090.00616.57
7.3.170.0100.00716.55
7.3.160.0120.00316.35
7.3.120.0060.01014.81
7.2.330.0090.01216.55
7.2.320.0150.00616.74
7.2.310.0060.01516.65
7.2.300.0100.00716.57
7.2.290.0070.01016.70
7.1.200.0080.00815.86
7.1.70.0000.00817.29
7.1.60.0070.01719.46
7.1.50.0030.01017.01
7.1.00.0000.08022.45
7.0.200.0800.00014.46
7.0.140.0030.07322.09
7.0.60.0070.07720.04
7.0.50.0070.08017.98
7.0.40.0070.07720.07
7.0.30.0230.06720.25
7.0.20.0270.04020.13
7.0.10.0070.06020.23
7.0.00.0130.08320.25
5.6.280.0100.06721.04
5.6.210.0100.08320.66
5.6.200.0070.05318.23
5.6.190.0030.04320.61
5.6.180.0370.04720.45
5.6.170.0270.05020.52
5.6.160.0130.07720.70
5.6.150.0000.04318.15
5.6.140.0070.04718.16
5.6.130.0030.04318.19
5.6.120.0100.07721.12
5.6.110.0070.08720.96
5.6.100.0170.07720.99
5.6.90.0100.08021.09
5.6.80.0070.04320.38
5.5.350.4030.03720.43
5.5.340.0070.08317.99
5.5.330.0070.09020.43
5.5.320.0330.07320.51
5.5.310.0300.07720.23
5.5.300.0030.08017.98
5.5.290.0170.07717.98
5.5.280.0100.07720.88
5.5.270.0030.05720.79
5.5.260.0100.08020.76
5.5.250.0070.08320.74
5.5.240.0030.07720.25
5.4.450.0770.06019.46
5.4.440.1000.06019.19
5.4.430.0230.06019.59
5.4.420.0870.07319.59
5.4.410.0100.05319.47
5.4.400.0730.05019.22
5.4.390.0700.05719.05
5.4.380.0430.04318.55
5.4.370.0770.05318.52
5.4.360.0230.05018.52
5.4.350.0400.06018.69
5.4.340.0300.04718.84
5.4.320.0060.03612.48
5.4.310.0060.03712.47
5.4.300.0030.03912.48
5.4.290.0150.05712.47
5.4.280.0100.05512.37
5.4.270.0100.06612.37
5.4.260.0130.05612.37
5.4.250.0110.05412.37
5.4.240.0100.06012.37
5.4.230.0080.05312.36
5.4.220.0080.04012.36
5.4.210.0080.03812.36
5.4.200.0060.04112.36
5.4.190.0040.04012.36
5.4.180.0090.04512.36
5.4.170.0100.04712.37
5.4.160.0080.04212.36
5.4.150.0070.03812.36
5.4.140.0040.04212.05
5.4.130.0110.04912.03
5.4.120.0090.04811.99
5.4.110.0040.05611.98
5.4.100.0100.04811.99
5.4.90.0090.05211.98
5.4.80.0060.05411.99
5.4.70.0060.05211.98
5.4.60.0090.04911.98
5.4.50.0090.05011.98
5.4.40.0060.05211.97
5.4.30.0060.03911.97
5.4.20.0080.05111.97
5.4.10.0080.04611.97
5.4.00.0040.04211.46
5.3.290.0050.04012.80
5.3.280.0110.03812.71
5.3.270.0040.04612.72
5.3.260.0070.04212.71
5.3.250.0090.05512.72
5.3.240.0100.05312.72
5.3.230.0080.07212.71
5.3.220.0070.05512.68
5.3.210.0060.05712.68
5.3.200.0070.05412.68
5.3.190.0110.04112.68
5.3.180.0110.04812.67
5.3.170.0100.04612.66
5.3.160.0110.04612.68
5.3.150.0110.05112.68
5.3.140.0120.05112.66
5.3.130.0110.05512.66
5.3.120.0130.05412.66
5.3.110.0060.04512.66
5.3.100.0110.04912.12
5.3.90.0040.04212.10
5.3.80.0070.03512.09
5.3.70.0050.03712.09
5.3.60.0060.03712.07
5.3.50.0060.03612.02
5.3.40.0050.03712.02
5.3.30.0080.03311.98
5.3.20.0040.03811.76
5.3.10.0060.03611.73
5.3.00.0060.03611.71
5.2.170.0050.0329.22
5.2.160.0030.0339.21
5.2.150.0030.0329.22
5.2.140.0100.0299.21
5.2.130.0030.0329.17
5.2.120.0070.0389.18
5.2.110.0050.0439.18
5.2.100.0080.0409.18
5.2.90.0080.0409.18
5.2.80.0080.0419.18
5.2.70.0090.0439.17
5.2.60.0040.0459.13
5.2.50.0040.0349.09
5.2.40.0070.0269.08
5.2.30.0070.0289.05
5.2.20.0050.0309.06
5.2.10.0080.0358.95
5.2.00.0090.0348.81
5.1.60.0080.0298.08
5.1.50.0040.0298.08
5.1.40.0070.0268.06
5.1.30.0080.0358.41
5.1.20.0050.0408.43
5.1.10.0090.0358.16
5.1.00.0070.0378.16
5.0.50.0080.0306.64
5.0.40.0050.0256.49
5.0.30.0040.0346.30
5.0.20.0040.0206.27
5.0.10.0040.0196.25
5.0.00.0040.0316.24
4.4.90.0030.0184.78
4.4.80.0030.0174.75
4.4.70.0030.0174.76
4.4.60.0040.0154.76
4.4.50.0100.0084.77
4.4.40.0030.0254.71
4.4.30.0050.0144.76
4.4.20.0040.0154.84
4.4.10.0040.0154.85
4.4.00.0020.0264.76
4.3.110.0040.0164.66
4.3.100.0040.0154.66
4.3.90.0040.0154.63
4.3.80.0060.0294.58
4.3.70.0040.0194.63
4.3.60.0040.0164.63
4.3.50.0050.0204.63
4.3.40.0030.0254.53
4.3.30.0040.0153.30
4.3.20.0020.0163.28
4.3.10.0020.0173.22
4.3.00.0370.02710.55

preferences:
45.13 ms | 401 KiB | 5 Q