3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOT sad<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>sdasd this is also here <table>this is here</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.0040.01116.75
8.3.50.0150.00222.17
8.3.40.0070.01119.14
8.3.30.0110.00719.00
8.3.20.0070.00020.11
8.3.10.0040.00421.96
8.3.00.0080.00017.93
8.2.180.0180.00016.73
8.2.170.0120.00322.96
8.2.160.0030.01020.64
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00726.16
8.2.120.0000.00820.83
8.2.110.0070.00420.47
8.2.100.0120.00017.84
8.2.90.0070.00019.34
8.2.80.0040.00417.97
8.2.70.0000.00817.71
8.2.60.0060.00317.93
8.2.50.0090.00018.07
8.2.40.0060.00318.16
8.2.30.0000.00718.14
8.2.20.0040.00417.82
8.2.10.0040.00418.05
8.2.00.0000.00817.93
8.1.280.0090.00925.92
8.1.270.0040.00424.10
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00320.82
8.1.230.0000.01121.04
8.1.220.0040.00417.89
8.1.210.0090.00018.77
8.1.200.0040.00417.48
8.1.190.0040.00417.48
8.1.180.0080.00018.10
8.1.170.0050.00318.75
8.1.160.0000.00722.01
8.1.150.0000.00718.89
8.1.140.0070.00317.60
8.1.130.0000.00717.82
8.1.120.0070.00017.64
8.1.110.0000.00717.52
8.1.100.0080.00017.63
8.1.90.0040.00417.52
8.1.80.0030.00417.56
8.1.70.0000.00717.59
8.1.60.0130.00017.70
8.1.50.0030.00517.63
8.1.40.0000.00817.54
8.1.30.0000.00817.75
8.1.20.0000.00817.71
8.1.10.0020.00517.73
8.1.00.0000.00817.57
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0000.00718.53
8.0.270.0030.00317.33
8.0.260.0000.00817.27
8.0.250.0000.00717.21
8.0.240.0030.00317.08
8.0.230.0030.00617.05
8.0.220.0080.00017.07
8.0.210.0000.00816.99
8.0.200.0030.00317.07
8.0.190.0160.00017.19
8.0.180.0040.00416.99
8.0.170.0040.00417.09
8.0.160.0040.00417.14
8.0.150.0040.00416.98
8.0.140.0050.00317.06
8.0.130.0060.00013.51
8.0.120.0030.00616.98
8.0.110.0030.00517.02
8.0.100.0060.00316.96
8.0.90.0030.00516.96
8.0.80.0120.01017.04
8.0.70.0000.00817.00
8.0.60.0040.00416.95
8.0.50.0070.00017.15
8.0.30.0130.01017.44
8.0.20.0110.00717.40
8.0.10.0020.00517.08
8.0.00.0110.00716.95
7.4.330.0000.00515.00
7.4.320.0000.00716.71
7.4.300.0000.00616.71
7.4.290.0040.00716.63
7.4.280.0030.00716.80
7.4.270.0030.00316.82
7.4.260.0040.00216.76
7.4.250.0020.00516.77
7.4.240.0000.00716.77
7.4.230.0000.00716.73
7.4.220.0110.01116.65
7.4.210.0110.00716.74
7.4.200.0050.00216.83
7.4.160.0060.00916.60
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0020.01516.66
7.4.120.0050.01416.79
7.4.110.0170.00016.94
7.4.100.0090.00816.68
7.4.90.0030.01516.81
7.4.80.0160.00619.39
7.4.70.0130.00416.69
7.4.60.0130.00316.79
7.4.50.0040.00416.74
7.4.40.0060.00916.57
7.4.30.0030.01216.77
7.4.00.0050.01115.26
7.3.330.0030.00313.29
7.3.320.0030.00313.24
7.3.310.0030.00316.36
7.3.300.0030.00316.30
7.3.290.0060.00816.35
7.3.280.0120.00616.46
7.3.270.0160.00617.40
7.3.260.0100.01316.61
7.3.250.0100.00716.67
7.3.240.0100.00716.38
7.3.230.0090.00916.45
7.3.210.0070.01016.61
7.3.200.0130.00319.39
7.3.190.0060.01216.54
7.3.180.0080.00816.50
7.3.170.0100.00716.73
7.3.160.0100.01316.75
7.3.120.0060.00314.89
7.3.110.0090.00615.06
7.3.100.0060.00914.75
7.3.90.0090.00615.30
7.3.80.0030.01115.10
7.3.70.0030.00815.03
7.3.60.0030.01414.84
7.3.50.0070.00714.75
7.3.40.0070.00415.02
7.3.30.0070.01014.93
7.3.20.0070.01016.73
7.3.10.0030.01416.69
7.3.00.0060.01016.80
7.2.330.0140.00316.59
7.2.320.0030.01416.73
7.2.310.0140.00316.93
7.2.300.0080.00816.56
7.2.290.0150.00716.73
7.2.250.0070.01115.21
7.2.240.0070.01115.06
7.2.230.0030.00915.34
7.2.220.0040.01114.84
7.2.210.0030.01315.16
7.2.200.0060.00815.05
7.2.190.0070.01114.86
7.2.180.0060.00615.15
7.2.170.0070.00415.07
7.2.60.0030.01317.16
7.2.00.0060.00919.67
7.1.330.0000.01515.94
7.1.320.0080.00416.13
7.1.310.0090.00315.95
7.1.300.0100.00316.03
7.1.290.0070.00715.65
7.1.280.0090.00915.89
7.1.270.0070.00315.99
7.1.260.0030.01015.77
7.1.200.0120.00015.70
7.1.100.0030.01018.42
7.1.70.0040.00417.33
7.1.60.0040.02119.11
7.1.50.0140.00716.75
7.1.00.0030.07322.41
7.0.200.0040.00416.94
7.0.140.0100.06722.18
7.0.60.0100.08019.95
7.0.50.0170.07017.85
7.0.40.0100.04720.25
7.0.30.0330.05320.16
7.0.20.0270.07720.13
7.0.10.0070.08720.23
7.0.00.0100.09020.22
5.6.280.0070.06722.21
5.6.210.0100.06721.60
5.6.200.0100.08319.30
5.6.190.0030.07021.39
5.6.180.0530.07021.53
5.6.170.0330.04721.61
5.6.160.0130.07721.52
5.6.150.0030.08019.23
5.6.140.0130.06719.29
5.6.130.0170.04319.32
5.6.120.0100.03722.20
5.6.110.0030.04722.09
5.6.100.0070.06022.11
5.6.90.0070.06322.06
5.6.80.0100.06721.46
5.5.350.0270.06721.61
5.5.340.0100.07319.11
5.5.330.0100.06321.32
5.5.320.0300.05021.29
5.5.310.0170.05021.30
5.5.300.0030.04019.10
5.5.290.0100.05719.04
5.5.280.0170.04321.94
5.5.270.0070.05021.84
5.5.260.0100.07322.05
5.5.250.0070.04021.60
5.5.240.0070.08021.25
5.4.450.0530.06020.68
5.4.440.0700.07320.42
5.4.430.0830.05320.54
5.4.420.0130.05020.58
5.4.410.0800.04720.55
5.4.400.0370.05319.78
5.4.390.0430.05719.50
5.4.380.0100.05019.51
5.4.370.0100.05019.57
5.4.360.0270.04019.72
5.4.350.0080.03413.02
5.4.340.0070.03813.01
5.4.320.0100.04413.50
5.4.310.0050.03913.49
5.4.300.0060.03813.49
5.4.290.0080.03613.49
5.4.280.0060.03613.36
5.4.270.0040.03813.36
5.4.260.0030.04113.36
5.4.250.0060.04113.36
5.4.240.0050.04013.35
5.4.230.0090.03913.35
5.4.220.0080.03713.35
5.4.210.0070.03413.35
5.4.200.0070.04013.34
5.4.190.0030.04313.34
5.4.180.0060.03613.34
5.4.170.0060.03513.36
5.4.160.0050.03613.35
5.4.150.0060.04013.35
5.4.140.0050.03713.04
5.4.130.0090.03713.02
5.4.120.0080.04013.65
5.4.110.0070.03813.64
5.4.100.0140.03813.64
5.4.90.0060.04413.64
5.4.80.0080.03513.71
5.4.70.0060.03513.71
5.4.60.0060.03613.71
5.4.50.0090.03313.71
5.4.40.0070.03613.70
5.4.30.0070.03613.69
5.4.20.0080.03413.69
5.4.10.0070.03413.69
5.4.00.0070.03712.69
5.3.290.0090.04513.77
5.3.280.0100.03513.66
5.3.270.0080.03813.67
5.3.260.0060.04013.67
5.3.250.0080.03513.67
5.3.240.0040.03913.67
5.3.230.0040.04513.66
5.3.220.0080.03514.30
5.3.210.0050.04014.30
5.3.200.0080.03514.30
5.3.190.0050.03914.30
5.3.180.0050.03714.37
5.3.170.0050.03714.37
5.3.160.0080.03414.36
5.3.150.0070.03914.37
5.3.140.0120.04514.36
5.3.130.0070.04014.35
5.3.120.0040.04714.35
5.3.110.0030.04114.35
5.3.100.0030.03913.84
5.3.90.0070.04313.33
5.3.80.0040.03913.32
5.3.70.0100.04313.32
5.3.60.0070.03513.30
5.3.50.0110.03313.29
5.3.40.0080.03413.29
5.3.30.0080.03713.18
5.3.20.0050.03513.00
5.3.10.0060.04012.89
5.3.00.0050.04312.88
5.2.170.0060.02810.41
5.2.160.0090.02510.41
5.2.150.0060.02910.41
5.2.140.0050.03410.41
5.2.130.0060.03510.34
5.2.120.0050.03110.34
5.2.110.0010.03910.34
5.2.100.0070.03010.33
5.2.90.0070.02910.30
5.2.80.0050.03810.29
5.2.70.0040.03710.29
5.2.60.0050.03110.25
5.2.50.0020.03410.23
5.2.40.0030.03110.21
5.2.30.0050.03010.12
5.2.20.0040.03310.16
5.2.10.0050.02710.04
5.2.00.0030.0319.93
5.1.60.0050.0239.24
5.1.50.0040.0259.24
5.1.40.0060.0239.21
5.1.30.0040.0279.57
5.1.20.0020.0299.59
5.1.10.0020.0309.32
5.1.00.0030.0269.32
5.0.50.0030.0207.79
5.0.40.0040.0237.52
5.0.30.0030.0397.33
5.0.20.0030.0197.30
5.0.10.0040.0207.27
5.0.00.0060.0287.27
4.4.90.0050.0145.88
4.4.80.0040.0195.79
4.4.70.0040.0185.79
4.4.60.0020.0175.79
4.4.50.0040.0145.80
4.4.40.0030.0245.79
4.4.30.0030.0155.79
4.4.20.0040.0145.86
4.4.10.0020.0175.86
4.4.00.0040.0245.82
4.3.110.0010.0175.59
4.3.100.0040.0145.58
4.3.90.0030.0225.56
4.3.80.0030.0365.55
4.3.70.0020.0175.55
4.3.60.0030.0145.56
4.3.50.0020.0165.55
4.3.40.0030.0245.51
4.3.30.0000.0184.32
4.3.20.0010.0174.23
4.3.10.0020.0164.13
4.3.00.0170.0237.16

preferences:
46.18 ms | 401 KiB | 5 Q