3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOT start<table id="smm" width="650" border="0" cellpadding="0" cellspacing="0" align="center"> <tbody><tr> <td width="650" colspan="3" height="10" bgcolor="#FFFFFF"></td> </tr> <tr> <td width="76" height="143"></td> <td width="498" height="143" bgcolor="#ededed" align="center"> <br> <a href="" style="FONT-SIZE: 14pt; COLOR: #003663; FONT-FAMILY: arial; text-decoration: none;">IMPORTANT ANNOUNCEMENT 7TH AUGUST 2014</a> <br><br> <a href="" style="FONT-SIZE: 10pt; COLOR: #249dd8; FONT-FAMILY: arial; text-decoration: none;">This offer is valid until the 21st of August 2014.</a> <br><br> <a href=""><img src="http://freequotes.co.uk/MP_Template/show_me_more.jpg" width="255" height="46" border="0" alt="Show Me More. IMPORTANT ANNOUNCEMENT 7TH AUGUST 2014"></a> <br><br> </td> <td width="76" height="143"></td> </tr> </tbody></table>end table this is also here <table>another table</table> and this EOT; echo preg_replace('/(<table id="smm")((\n|.)*?)(<\/table>)/', 'REP', $html);

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.0070.00718.43
8.3.50.0090.00922.05
8.3.40.0070.00719.14
8.3.30.0070.00718.95
8.3.20.0030.00520.16
8.3.10.0070.00021.85
8.3.00.0030.00617.80
8.2.180.0070.01118.54
8.2.170.0090.00622.96
8.2.160.0100.00720.50
8.2.150.0020.00524.18
8.2.140.0000.00824.66
8.2.130.0040.01426.16
8.2.120.0050.00320.96
8.2.110.0080.00322.38
8.2.100.0080.00418.03
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0090.00317.80
8.2.50.0050.00518.07
8.2.40.0080.00318.34
8.2.30.0070.00018.20
8.2.20.0070.00017.81
8.2.10.0000.00718.11
8.2.00.0000.00817.79
8.1.280.0040.01125.92
8.1.270.0030.00623.91
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00323.93
8.1.230.0070.00419.09
8.1.220.0030.00517.89
8.1.210.0040.00418.77
8.1.200.0050.00517.47
8.1.190.0040.00417.25
8.1.180.0060.00318.10
8.1.170.0040.00418.75
8.1.160.0000.00721.93
8.1.150.0000.00718.91
8.1.140.0060.00617.50
8.1.130.0040.00417.95
8.1.120.0040.00417.61
8.1.110.0070.00017.55
8.1.100.0040.00417.59
8.1.90.0080.00017.63
8.1.80.0030.00517.58
8.1.70.0070.00017.48
8.1.60.0090.00417.73
8.1.50.0030.00517.67
8.1.40.0040.00417.68
8.1.30.0050.00317.82
8.1.20.0040.00417.64
8.1.10.0040.00417.71
8.1.00.0030.00617.68
8.0.300.0070.00018.77
8.0.290.0070.00017.00
8.0.280.0030.00318.39
8.0.270.0000.00717.38
8.0.260.0060.00017.28
8.0.250.0030.00617.14
8.0.240.0000.00817.13
8.0.230.0060.00317.04
8.0.220.0000.00717.11
8.0.210.0030.00316.96
8.0.200.0030.00317.04
8.0.190.0000.00717.13
8.0.180.0000.00817.02
8.0.170.0000.00817.14
8.0.160.0070.00017.05
8.0.150.0030.00617.13
8.0.140.0000.00717.09
8.0.130.0030.00313.52
8.0.120.0040.00417.04
8.0.110.0000.00716.98
8.0.100.0030.00517.12
8.0.90.0000.00716.96
8.0.80.0110.01017.04
8.0.70.0080.00017.15
8.0.60.0050.00216.97
8.0.50.0000.00816.97
8.0.30.0140.00517.39
8.0.20.0080.01417.40
8.0.10.0030.00517.23
8.0.00.0110.00716.88
7.4.330.0050.00015.00
7.4.320.0030.00316.70
7.4.300.0040.00416.80
7.4.290.0070.00416.71
7.4.280.0070.00016.80
7.4.270.0040.00416.83
7.4.260.0060.00016.64
7.4.250.0070.00016.67
7.4.240.0040.00416.76
7.4.230.0070.00016.73
7.4.220.0040.01516.82
7.4.210.0040.01116.91
7.4.200.0040.00416.79
7.4.160.0060.01016.94
7.4.150.0120.00617.40
7.4.140.0060.01417.86
7.4.130.0030.01316.79
7.4.120.0140.01016.75
7.4.110.0130.00416.68
7.4.100.0120.00616.74
7.4.90.0090.00916.82
7.4.80.0100.01019.39
7.4.70.0120.00516.80
7.4.60.0100.01016.59
7.4.50.0040.00416.43
7.4.40.0060.01016.69
7.4.30.0060.01016.65
7.4.00.0110.00515.13
7.3.330.0000.00513.31
7.3.320.0000.00613.24
7.3.310.0000.00716.36
7.3.300.0000.00716.24
7.3.290.0150.00316.38
7.3.280.0100.00716.39
7.3.270.0160.00717.40
7.3.260.0120.01216.63
7.3.250.0100.00816.45
7.3.240.0130.01016.64
7.3.230.0030.01416.62
7.3.210.0130.00316.72
7.3.200.0060.01519.39
7.3.190.0110.00616.45
7.3.180.0060.00916.54
7.3.170.0100.00616.40
7.3.160.0000.01816.50
7.3.120.0080.00814.88
7.3.110.0110.00515.03
7.3.100.0050.01015.00
7.3.90.0030.01215.20
7.3.80.0080.00814.80
7.3.70.0060.00714.98
7.3.60.0090.00314.86
7.3.50.0080.00914.88
7.3.40.0080.00614.79
7.3.30.0050.00714.89
7.3.20.0050.00916.78
7.3.10.0030.01016.81
7.3.00.0060.00616.73
7.2.330.0110.00816.59
7.2.320.0090.00916.83
7.2.310.0100.00616.84
7.2.300.0170.00016.48
7.2.290.0070.01016.82
7.2.250.0120.00715.19
7.2.240.0080.01215.06
7.2.230.0060.00815.12
7.2.220.0080.00714.86
7.2.210.0080.00715.00
7.2.200.0060.00915.22
7.2.190.0060.00915.19
7.2.180.0020.00914.86
7.2.170.0050.00715.25
7.2.60.0040.01217.04
7.1.330.0080.00615.84
7.1.320.0030.01015.99
7.1.310.0070.00515.90
7.1.300.0090.00415.74
7.1.290.0060.00616.03
7.1.280.0070.00315.84
7.1.270.0090.00615.91
7.1.260.0100.00615.90
7.1.200.0100.00315.64
7.1.100.0050.00518.18
7.1.70.0050.00517.19
7.1.60.0100.01319.11
7.1.50.0080.00817.11
7.1.00.0070.07322.36
7.0.200.0070.00017.08
7.0.140.0030.07321.96
7.0.60.0100.04319.94
7.0.50.0000.05317.70
7.0.40.0000.05020.44
7.0.30.0230.04020.07
7.0.20.0370.06720.20
7.0.10.0130.07320.05
7.0.00.0030.07720.16
5.6.280.0070.07021.65
5.6.210.0030.06721.05
5.6.200.0000.08718.62
5.6.190.0130.08021.20
5.6.180.0100.06021.17
5.6.170.0270.03320.97
5.6.160.0070.04020.86
5.6.150.0030.07018.71
5.6.140.0070.07718.68
5.6.130.0100.07018.64
5.6.120.0070.08721.49
5.6.110.0030.04021.39
5.6.100.0100.07321.47
5.6.90.0200.07021.61
5.6.80.0030.08321.04
5.5.350.0270.08021.00
5.5.340.0070.08018.58
5.5.330.0130.03320.88
5.5.320.0130.06320.83
5.5.310.0300.05720.82
5.5.300.0070.08318.48
5.5.290.0130.07018.50
5.5.280.0070.05321.16
5.5.270.0130.05021.27
5.5.260.0170.07021.44
5.5.250.0070.03721.12
5.5.240.0070.07320.77
5.4.450.0700.05719.95
5.4.440.0700.05020.00
5.4.430.0670.06019.90
5.4.420.0670.04720.03
5.4.410.0030.06319.37
5.4.400.0330.05719.13
5.4.390.0300.05718.98
5.4.380.0130.05319.20
5.4.370.0100.04719.19
5.4.360.0070.05319.26
5.4.350.0110.05112.46
5.4.340.0030.04312.45
5.4.320.0080.04412.94
5.4.310.0090.03512.93
5.4.300.0090.03612.94
5.4.290.0080.03512.94
5.4.280.0070.03412.82
5.4.270.0040.03712.81
5.4.260.0060.04312.81
5.4.250.0090.03812.82
5.4.240.0090.03212.82
5.4.230.0070.03612.80
5.4.220.0060.03612.80
5.4.210.0070.03512.80
5.4.200.0030.04012.81
5.4.190.0040.03812.80
5.4.180.0060.03612.80
5.4.170.0050.03712.82
5.4.160.0050.03712.81
5.4.150.0010.04212.80
5.4.140.0040.03812.49
5.4.130.0050.03612.48
5.4.120.0080.03312.75
5.4.110.0060.03612.75
5.4.100.0080.03412.75
5.4.90.0040.03912.75
5.4.80.0050.03712.78
5.4.70.0060.03512.78
5.4.60.0070.03312.78
5.4.50.0040.03612.78
5.4.40.0070.03412.77
5.4.30.0040.03612.76
5.4.20.0060.03412.77
5.4.10.0060.03312.77
5.4.00.0050.03812.02
5.3.290.0060.04413.20
5.3.280.0170.04113.12
5.3.270.0090.04513.13
5.3.260.0120.04313.13
5.3.250.0080.04513.13
5.3.240.0060.05113.13
5.3.230.0080.04113.12
5.3.220.0090.04413.41
5.3.210.0060.03813.41
5.3.200.0080.04213.41
5.3.190.0040.04613.41
5.3.180.0070.04013.43
5.3.170.0040.04013.43
5.3.160.0050.03813.43
5.3.150.0070.03813.44
5.3.140.0070.04513.43
5.3.130.0060.03813.42
5.3.120.0060.03913.42
5.3.110.0060.04313.43
5.3.100.0060.03912.91
5.3.90.0040.04012.66
5.3.80.0040.03912.65
5.3.70.0050.04012.65
5.3.60.0080.03512.63
5.3.50.0080.03612.61
5.3.40.0080.03412.60
5.3.30.0060.03512.53
5.3.20.0030.03912.32
5.3.10.0060.04012.25
5.3.00.0060.03712.24
5.2.170.0030.0339.76
5.2.160.0060.0289.75
5.2.150.0050.0309.76
5.2.140.0050.0309.76
5.2.130.0030.0319.70
5.2.120.0030.0329.70
5.2.110.0080.0309.70
5.2.100.0060.0299.70
5.2.90.0070.0299.68
5.2.80.0060.0329.68
5.2.70.0080.0349.68
5.2.60.0030.0389.64
5.2.50.0060.0339.61
5.2.40.0010.0359.60
5.2.30.0060.0319.54
5.2.20.0040.0299.58
5.2.10.0020.0319.48
5.2.00.0050.0299.35
5.1.60.0040.0259.18
5.1.50.0030.0269.18
5.1.40.0010.0289.16
5.1.30.0060.0269.51
5.1.20.0050.0269.53
5.1.10.0040.0279.25
5.1.00.0050.0259.25
5.0.50.0040.0207.73
5.0.40.0040.0197.46
5.0.30.0030.0327.27
5.0.20.0000.0237.24
5.0.10.0040.0197.21
5.0.00.0040.0307.21
4.4.90.0000.0185.27
4.4.80.0010.0175.22
4.4.70.0030.0155.21
4.4.60.0050.0135.22
4.4.50.0020.0165.22
4.4.40.0010.0285.73
4.4.30.0020.0205.73
4.4.20.0070.0155.79
4.4.10.0030.0165.80
4.4.00.0000.0285.76
4.3.110.0040.0145.54
4.3.100.0010.0175.52
4.3.90.0020.0165.50
4.3.80.0040.0235.50
4.3.70.0030.0145.50
4.3.60.0030.0145.50
4.3.50.0020.0165.50
4.3.40.0000.0275.45
4.3.30.0000.0194.27
4.3.20.0010.0174.18
4.3.10.0030.0154.08
4.3.00.0130.0207.14

preferences:
47.29 ms | 401 KiB | 5 Q