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("/(.+<br>)/g", $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.40.0110.00418.84
8.3.30.0100.00319.03
8.3.20.0070.00020.34
8.3.10.0050.00321.90
8.3.00.0080.00019.25
8.2.170.0110.00422.96
8.2.160.0130.00620.22
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00722.11
8.2.110.0100.00020.70
8.2.100.0060.00617.60
8.2.90.0000.00819.13
8.2.80.0000.00917.97
8.2.70.0040.00417.38
8.2.60.0030.00617.55
8.2.50.0060.00318.07
8.2.40.0080.00019.88
8.2.30.0030.00619.68
8.2.20.0050.00317.52
8.2.10.0040.00417.94
8.2.00.0100.00017.61
8.1.270.0040.00423.61
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0090.00022.10
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.10
8.1.190.0040.00417.39
8.1.180.0060.00318.10
8.1.170.0080.00018.49
8.1.160.0030.00622.01
8.1.150.0000.00718.48
8.1.140.0000.00717.46
8.1.130.0070.00017.77
8.1.120.0030.00317.45
8.1.110.0030.00317.36
8.1.100.0020.00517.39
8.1.90.0000.00717.36
8.1.80.0040.00417.39
8.1.70.0000.00717.40
8.1.60.0050.00317.52
8.1.50.0040.00417.50
8.1.40.0040.00417.45
8.1.30.0050.00317.50
8.1.20.0040.00417.63
8.1.10.0020.00517.37
8.1.00.0040.00417.47
8.0.300.0090.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0080.00017.10
8.0.260.0030.00317.19
8.0.250.0020.00516.88
8.0.240.0090.00016.86
8.0.230.0030.00316.91
8.0.220.0030.00316.86
8.0.210.0000.00716.90
8.0.200.0030.00316.95
8.0.190.0060.00316.92
8.0.180.0050.00216.81
8.0.170.0040.00416.82
8.0.160.0030.00316.96
8.0.150.0070.00416.92
8.0.140.0070.00016.76
8.0.130.0000.00613.28
8.0.120.0000.00716.79
8.0.110.0080.00016.91
8.0.100.0070.00016.85
8.0.90.0000.00716.96
8.0.80.0090.00616.95
8.0.70.0000.00716.77
8.0.60.0040.00416.76
8.0.50.0070.00016.79
8.0.30.0120.00717.10
8.0.20.0100.00817.40
8.0.10.0040.00416.85
8.0.00.0090.01116.71
7.4.330.0000.00715.00
7.4.320.0030.00316.63
7.4.300.0000.00816.54
7.4.290.0000.00716.49
7.4.280.0040.00416.42
7.4.270.0040.00416.55
7.4.260.0050.00416.33
7.4.250.0000.00816.50
7.4.240.0040.00416.54
7.4.230.0000.00716.47
7.4.220.0120.00916.46
7.4.210.0090.00816.56
7.4.200.0040.00416.34
7.4.190.0030.00316.70
7.4.160.0120.00316.54
7.4.150.0100.01017.40
7.4.140.0100.00917.86
7.4.130.0090.01116.45
7.4.120.0090.01216.41
7.4.110.0100.01316.49
7.4.100.0090.01216.48
7.4.90.0130.00416.30
7.4.80.0090.00919.39
7.4.70.0100.00616.31
7.4.60.0100.00716.25
7.4.50.0060.00316.63
7.4.40.0130.01016.40
7.4.30.0090.00616.44
7.4.10.0100.00315.02
7.4.00.0100.00815.04
7.3.330.0030.00312.88
7.3.320.0030.00312.94
7.3.310.0030.00516.04
7.3.300.0030.00316.19
7.3.290.0080.00816.22
7.3.280.0040.01416.19
7.3.270.0060.01217.40
7.3.260.0120.00916.28
7.3.250.0080.01016.24
7.3.240.0090.01216.13
7.3.230.0060.01016.39
7.3.210.0040.01216.21
7.3.200.0050.01419.39
7.3.190.0100.00916.52
7.3.180.0070.01016.18
7.3.170.0070.01016.28
7.3.160.0060.00916.15
7.3.130.0070.01414.74
7.3.120.0090.00714.75
7.3.110.0070.01014.70
7.3.100.0030.01014.89
7.3.90.0080.00814.66
7.3.80.0030.00714.63
7.3.70.0030.00814.83
7.3.60.0030.01314.67
7.3.50.0100.00014.64
7.3.40.0070.01014.62
7.3.30.0060.00914.69
7.3.20.0090.00616.49
7.3.10.0090.00716.49
7.3.00.0050.01216.34
7.2.330.0090.00916.49
7.2.320.0080.00816.41
7.2.310.0170.00616.48
7.2.300.0180.00016.25
7.2.290.0030.01316.13
7.2.260.0060.01214.58
7.2.250.0060.01314.89
7.2.240.0040.01214.93
7.2.230.0110.00314.75
7.2.220.0090.00414.56
7.2.210.0030.00914.84
7.2.200.0030.00914.78
7.2.190.0030.01114.86
7.2.180.0000.01414.73
7.2.170.0030.01014.84
7.2.160.0030.01015.02
7.2.150.0030.00716.88
7.2.140.0090.00616.72
7.2.130.0090.00516.74
7.2.120.0090.00816.65
7.2.110.0050.00916.62
7.2.100.0040.00816.68
7.2.90.0070.00716.56
7.2.80.0070.00816.55
7.2.70.0070.00516.73
7.2.60.0030.00816.69
7.2.50.0070.00916.51
7.2.40.0070.00516.59
7.2.30.0090.00516.77
7.2.20.0050.00716.53
7.2.10.0060.00516.60
7.2.00.0060.00817.26
7.1.330.0110.00715.77
7.1.320.0060.00315.80
7.1.310.0000.01215.84
7.1.300.0140.00315.64
7.1.290.0030.01015.50
7.1.280.0100.00315.73
7.1.270.0000.01315.68
7.1.260.0050.00515.75
7.1.250.0090.00615.54
7.1.240.0030.01015.73
7.1.230.0060.00615.51
7.1.220.0000.01515.78
7.1.210.0100.00315.74
7.1.200.0060.01015.81
7.1.190.0080.00315.81
7.1.180.0100.00715.77
7.1.170.0000.01415.66
7.1.160.0070.00615.36
7.1.150.0070.00715.70
7.1.140.0030.00515.70
7.1.130.0050.00315.66
7.1.120.0030.01015.88
7.1.110.0040.01115.56
7.1.100.0070.00616.82
7.1.90.0140.00015.85
7.1.80.0060.00615.75
7.1.70.0020.00816.48
7.1.60.0050.01317.64
7.1.50.0040.01216.29
7.1.40.0030.00915.73
7.1.30.0000.01715.72
7.1.20.0040.00415.70
7.1.10.0030.00615.65
7.1.00.0060.03819.05
7.0.330.0040.01215.29
7.0.320.0060.00615.32
7.0.310.0000.01415.49
7.0.300.0070.01315.07
7.0.290.0030.01015.30
7.0.280.0030.00915.07
7.0.270.0030.00615.32
7.0.260.0030.00915.27
7.0.250.0070.00715.41
7.0.240.0120.00015.47
7.0.230.0000.01315.21
7.0.220.0030.00915.30
7.0.210.0070.00715.07
7.0.200.0180.00515.01
7.0.190.0030.00615.46
7.0.180.0060.00915.50
7.0.170.0080.00415.17
7.0.160.0040.00415.26
7.0.150.0040.00715.41
7.0.140.0070.03818.77
7.0.130.0090.00315.54
7.0.120.0030.01015.13
7.0.110.0080.04517.63
7.0.100.0050.04417.79
7.0.90.0080.04517.63
7.0.80.0030.03317.71
7.0.70.0050.04717.57
7.0.60.0060.04117.50
7.0.50.0070.04717.88
7.0.40.0080.04316.78
7.0.30.0050.04516.73
7.0.20.0050.04316.83
7.0.10.0110.04016.76
7.0.00.0090.04416.84
5.6.400.0060.00914.18
5.6.390.0030.01014.50
5.6.380.0070.00714.44
5.6.370.0070.00414.46
5.6.360.0070.01413.95
5.6.350.0040.00714.13
5.6.340.0030.01014.05
5.6.330.0080.00414.10
5.6.320.0030.01314.32
5.6.310.0070.00714.22
5.6.300.0090.00313.88
5.6.290.0030.00514.38
5.6.280.0080.03817.64
5.6.270.0000.01113.99
5.6.260.0100.00314.13
5.6.250.0100.03817.39
5.6.240.0070.04317.34
5.6.230.0080.04017.41
5.6.220.0080.04217.38
5.6.210.0100.02717.42
5.6.200.0060.04617.77
5.6.190.0110.03817.71
5.6.180.0100.04117.57
5.6.170.0070.04417.81
5.6.160.0120.03717.57
5.6.150.0070.04017.54
5.6.140.0050.03017.74
5.6.130.0070.04317.66
5.6.120.0070.04817.66
5.6.110.0050.04517.60
5.6.100.0020.05317.56
5.6.90.0080.04217.36
5.6.80.0070.04417.33
5.6.70.0030.02617.21
5.6.60.0020.03017.32
5.6.50.0050.02517.40
5.6.40.0080.04017.29
5.6.30.0000.03617.51
5.6.20.0050.03617.43
5.6.10.0060.03617.16
5.6.00.0020.04417.16
5.5.380.0080.04517.28
5.5.370.0060.04117.27
5.5.360.0020.04217.49
5.5.350.0030.03317.48
5.5.340.0060.04317.35
5.5.330.0090.04317.67
5.5.320.0030.04017.54
5.5.310.0120.04017.53
5.5.300.0120.04017.59
5.5.290.0070.02817.46
5.5.280.0090.03517.25
5.5.270.0080.03717.46
5.5.260.0050.03117.50
5.5.250.0070.04617.44
5.5.240.0100.03817.22
5.5.230.0130.03317.21
5.5.220.0070.04117.06
5.5.210.0030.04316.94
5.5.200.0080.04017.11
5.5.190.0000.04716.92
5.5.180.0100.04017.17
5.5.170.0090.00313.92
5.5.160.0060.02316.94
5.5.150.0090.03716.96
5.5.140.0120.03717.04
5.5.130.0040.04416.87
5.5.120.0090.03517.20
5.5.110.0100.02917.20
5.5.100.0080.03117.16
5.5.90.0090.04317.18
5.5.80.0090.04017.04
5.5.70.0080.02517.02
5.5.60.0050.04217.20
5.5.50.0130.03517.07
5.5.40.0070.04017.06
5.5.30.0070.04416.95
5.5.20.0090.03716.97
5.5.10.0100.03717.02
5.5.00.0080.04217.10
5.4.450.0050.04216.34
5.4.440.0000.03516.30
5.4.430.0050.02616.37
5.4.420.0070.03516.28
5.4.410.0100.03416.21
5.4.400.0100.03516.18
5.4.390.0050.04216.10
5.4.380.0100.03716.18
5.4.370.0080.03716.13
5.4.360.0080.03716.20
5.4.350.0080.03816.14
5.4.340.0080.03816.12
5.4.330.0070.00313.24
5.4.320.0100.03716.17
5.4.310.0130.03516.10
5.4.300.0050.03716.21
5.4.290.0030.04016.18
5.4.280.0030.04216.25
5.4.270.0080.03316.11
5.4.260.0060.03316.18
5.4.250.0060.02316.12
5.4.240.0030.04516.16
5.4.230.0100.03516.12
5.4.220.0050.03116.17
5.4.210.0050.03216.13
5.4.200.0080.02216.21
5.4.190.0050.03716.17
5.4.180.0020.02716.13
5.4.170.0080.02616.16
5.4.160.0080.03816.13
5.4.150.0050.03916.06
5.4.140.0050.03814.87
5.4.130.0030.02114.72
5.4.120.0070.02314.85
5.4.110.0030.02314.82
5.4.100.0050.02214.80
5.4.90.0050.02814.82
5.4.80.0020.02214.88
5.4.70.0070.01614.76
5.4.60.0030.02014.86
5.4.50.0070.01814.78
5.4.40.0080.01714.72
5.4.30.0030.03014.87
5.4.20.0000.02514.81
5.4.10.0050.03714.75
5.4.00.0030.04014.47
5.3.290.0100.02913.85
5.3.280.0100.03813.95
5.3.270.0060.03913.90
5.3.260.0080.02913.87
5.3.250.0090.02113.86
5.3.240.0070.03413.81
5.3.230.0070.02113.89
5.3.220.0040.02513.91
5.3.210.0040.02413.84
5.3.200.0140.03013.94
5.3.190.0080.01813.87
5.3.180.0060.02013.94
5.3.170.0080.01913.85
5.3.160.0070.02013.95
5.3.150.0080.02013.93
5.3.140.0040.02313.93
5.3.130.0140.03713.79
5.3.120.0020.03113.90
5.3.110.0040.04613.90
5.3.100.0070.03513.67
5.3.90.0050.04213.62
5.3.80.0040.04213.66
5.3.70.0040.03713.59
5.3.60.0080.02013.57
5.3.50.0110.01713.60
5.3.40.0090.02013.49
5.3.30.0020.02713.61
5.3.20.0050.02013.47
5.3.10.0080.02313.39
5.3.00.0070.02513.41
5.2.170.0000.04711.05
5.2.160.0070.04011.03
5.2.150.0030.02711.21
5.2.140.0070.05710.93
5.2.130.0030.03011.11
5.2.120.0000.03711.04
5.2.110.0130.01710.98
5.2.100.0030.05011.05
5.2.90.0070.02711.03
5.2.80.0000.03011.01
5.2.70.0000.03011.02
5.2.60.0000.04711.11
5.2.50.0030.03010.95
5.2.40.0100.03310.93
5.2.30.0000.03010.91
5.2.20.0000.03011.04
5.2.10.0030.04310.88
5.2.00.0000.03710.71
5.1.60.0000.02710.66
5.1.50.0100.02310.66
5.1.40.0030.05310.66
5.1.30.0000.02710.66
5.1.20.0000.02710.66
5.1.10.0030.03710.66
5.1.00.0030.02310.66
5.0.50.0030.01710.66
5.0.40.0070.01710.66
5.0.30.0000.03010.66
5.0.20.0000.02010.66
5.0.10.0000.02010.66
5.0.00.0000.05010.66
4.4.90.0000.01310.66
4.4.80.0000.01710.66
4.4.70.0030.01310.66
4.4.60.0000.01710.66
4.4.50.0030.01310.66
4.4.40.0030.02310.66
4.4.30.0000.02310.66
4.4.20.0000.02310.66
4.4.10.0000.01710.66
4.4.00.0000.02710.66
4.3.110.0030.01310.66
4.3.100.0030.01310.66
4.3.90.0000.01310.66
4.3.80.0070.02010.66
4.3.70.0000.01310.66
4.3.60.0000.01710.66
4.3.50.0030.01310.66
4.3.40.0030.02010.66
4.3.30.0030.01310.66
4.3.20.0000.01710.66
4.3.10.0000.01310.66
4.3.00.0000.01310.66

preferences:
36.76 ms | 400 KiB | 5 Q