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 <table>this is here</table> 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.0000.01517.00
8.3.50.0120.00422.05
8.3.40.0120.00619.00
8.3.30.0110.01118.90
8.3.20.0070.00020.28
8.3.10.0040.00421.90
8.3.00.0040.00417.80
8.2.180.0150.00016.88
8.2.170.0090.00622.96
8.2.160.0070.00720.34
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0080.00626.16
8.2.120.0040.00421.09
8.2.110.0060.00319.32
8.2.100.0070.00417.73
8.2.90.0060.00317.97
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0000.00817.93
8.2.50.0060.00318.07
8.2.40.0050.00518.16
8.2.30.0050.00318.11
8.2.20.0070.00017.95
8.2.10.0000.00818.13
8.2.00.0080.00017.98
8.1.280.0040.01825.92
8.1.270.0090.00023.95
8.1.260.0070.00026.35
8.1.250.0070.00328.09
8.1.240.0060.00319.46
8.1.230.0040.00720.91
8.1.220.0000.00917.77
8.1.210.0060.00318.95
8.1.200.0110.00017.35
8.1.190.0000.00817.35
8.1.180.0080.00018.10
8.1.170.0060.00318.78
8.1.160.0000.00722.06
8.1.150.0020.00518.87
8.1.140.0000.01017.51
8.1.130.0030.00317.93
8.1.120.0000.00817.58
8.1.110.0030.00617.55
8.1.100.0080.00017.58
8.1.90.0000.00717.53
8.1.80.0050.00217.60
8.1.70.0000.00817.50
8.1.60.0040.00817.71
8.1.50.0030.00517.69
8.1.40.0050.00317.55
8.1.30.0030.00617.79
8.1.20.0000.00817.67
8.1.10.0030.00617.66
8.1.00.0000.00917.61
8.0.300.0080.00020.07
8.0.290.0000.00817.00
8.0.280.0080.00018.40
8.0.270.0070.00017.22
8.0.260.0030.00317.36
8.0.250.0030.00317.09
8.0.240.0050.00317.24
8.0.230.0000.01117.05
8.0.220.0000.00717.06
8.0.210.0000.00717.05
8.0.200.0000.00617.14
8.0.190.0080.00317.02
8.0.180.0070.00016.99
8.0.170.0040.00417.09
8.0.160.0000.00717.02
8.0.150.0070.00017.04
8.0.140.0080.00017.04
8.0.130.0060.00013.52
8.0.120.0040.00417.10
8.0.110.0050.00217.07
8.0.100.0000.00816.94
8.0.90.0040.00417.14
8.0.80.0160.00617.11
8.0.70.0000.00716.95
8.0.60.0040.00417.04
8.0.50.0040.00416.96
8.0.30.0130.00717.14
8.0.20.0120.00717.40
8.0.10.0040.00417.18
8.0.00.0130.00516.91
7.4.330.0050.00015.02
7.4.320.0000.00716.71
7.4.300.0030.00316.73
7.4.290.0090.00016.83
7.4.280.0060.00316.68
7.4.270.0040.00416.80
7.4.260.0000.00816.73
7.4.250.0040.00416.65
7.4.240.0000.00816.71
7.4.230.0070.00016.44
7.4.220.0060.01216.86
7.4.210.0100.01016.74
7.4.200.0050.00216.63
7.4.160.0040.01216.77
7.4.150.0110.00617.40
7.4.140.0070.01017.86
7.4.130.0110.00616.70
7.4.120.0110.00716.71
7.4.110.0070.01516.80
7.4.100.0070.01016.78
7.4.90.0100.01416.80
7.4.80.0060.01019.39
7.4.70.0150.00416.85
7.4.60.0100.00716.62
7.4.50.0000.00816.53
7.4.40.0130.00316.55
7.4.30.0140.00316.61
7.4.00.0030.01015.00
7.3.330.0000.00513.27
7.3.320.0030.00313.23
7.3.310.0070.00016.38
7.3.300.0030.00316.33
7.3.290.0070.00716.42
7.3.280.0070.01016.42
7.3.270.0030.01617.40
7.3.260.0070.01416.70
7.3.250.0100.00816.39
7.3.240.0100.01016.79
7.3.230.0070.01116.64
7.3.210.0030.01316.48
7.3.200.0140.00619.39
7.3.190.0130.00916.45
7.3.180.0070.01116.43
7.3.170.0070.01116.46
7.3.160.0090.01116.46
7.3.120.0150.00014.81
7.2.330.0090.01116.66
7.2.320.0110.01116.77
7.2.310.0130.00316.66
7.2.300.0090.00916.45
7.2.290.0090.00616.68
7.2.60.0090.00617.02
7.2.00.0070.00719.46
7.1.200.0000.01515.89
7.1.100.0000.01418.37
7.1.70.0000.00817.20
7.1.60.0030.02119.11
7.1.50.0120.00917.20
7.1.00.0030.07322.33
7.0.200.0080.00416.93
7.0.140.0030.07322.11
7.0.60.0200.08019.93
7.0.50.0070.04017.87
7.0.40.0030.04320.16
7.0.30.0200.04720.21
7.0.20.0270.07020.13
7.0.10.0030.04320.25
7.0.00.0200.07720.12
5.6.280.0070.06322.22
5.6.210.0030.04721.53
5.6.200.0070.03719.23
5.6.190.0070.09021.78
5.6.180.0300.04021.86
5.6.170.0300.07721.49
5.6.160.0000.04321.51
5.6.150.0170.07319.29
5.6.140.0070.04719.25
5.6.130.0070.08019.25
5.6.120.0130.07722.05
5.6.110.0100.08322.04
5.6.100.0100.08322.14
5.6.90.0100.08022.19
5.6.80.0030.05021.45
5.5.350.0130.03721.55
5.5.340.0000.06718.99
5.5.330.0130.03321.65
5.5.320.0200.07721.37
5.5.310.0130.07321.38
5.5.300.0130.03019.02
5.5.290.0130.07019.13
5.5.280.0000.06321.80
5.5.270.0070.08322.02
5.5.260.0030.09021.82
5.5.250.0130.06721.67
5.5.240.0030.08021.34
5.4.450.0770.06320.47
5.4.440.0830.06020.36
5.4.430.0830.05020.55
5.4.420.0630.05720.19
5.4.410.0730.05320.04
5.4.400.0370.07319.64
5.4.390.0330.06019.65
5.4.380.0070.05319.80
5.4.370.0030.06019.68
5.4.360.0130.05019.67
5.4.350.0070.03412.99
5.4.340.0110.08212.99
5.4.320.0130.03313.48
5.4.310.0070.04113.47
5.4.300.0060.04113.47
5.4.290.0060.04613.47
5.4.280.0070.03513.34
5.4.270.0060.03913.33
5.4.260.0090.03413.34
5.4.250.0050.03813.34
5.4.240.0070.03713.33
5.4.230.0060.03813.32
5.4.220.0060.03613.33
5.4.210.0040.03713.33
5.4.200.0090.04913.33
5.4.190.0020.03913.32
5.4.180.0050.05413.32
5.4.170.0070.03413.33
5.4.160.0070.04113.33
5.4.150.0070.04613.32
5.4.140.0090.03813.01
5.4.130.0040.04113.00
5.4.120.0130.03813.61
5.4.110.0100.03613.60
5.4.100.0110.03113.61
5.4.90.0060.04613.61
5.4.80.0100.03313.68
5.4.70.0090.04413.67
5.4.60.0090.03713.67
5.4.50.0090.03513.67
5.4.40.0060.03413.66
5.4.30.0040.03913.66
5.4.20.0070.03513.66
5.4.10.0040.04413.66
5.4.00.0040.03812.67
5.3.290.0080.04013.74
5.3.280.0070.03613.64
5.3.270.0060.03813.64
5.3.260.0080.03813.65
5.3.250.0050.03813.65
5.3.240.0050.03913.65
5.3.230.0060.03713.64
5.3.220.0090.03414.26
5.3.210.0070.03814.26
5.3.200.0020.04014.26
5.3.190.0080.03514.27
5.3.180.0080.03614.33
5.3.170.0110.04014.33
5.3.160.0100.03514.32
5.3.150.0030.03914.33
5.3.140.0070.03514.32
5.3.130.0060.03914.31
5.3.120.0090.03614.31
5.3.110.0090.03914.31
5.3.100.0090.04113.80
5.3.90.0030.03813.30
5.3.80.0070.04113.29
5.3.70.0130.03513.30
5.3.60.0070.03713.27
5.3.50.0020.04613.26
5.3.40.0130.04613.26
5.3.30.0160.03013.15
5.3.20.0090.03712.95
5.3.10.0100.03412.86
5.3.00.0080.03312.84
5.2.170.0040.03110.38
5.2.160.0040.03010.38
5.2.150.0050.03310.38
5.2.140.0050.03910.38
5.2.130.0090.03010.31
5.2.120.0040.02910.30
5.2.110.0070.02610.30
5.2.100.0070.03210.30
5.2.90.0120.02910.27
5.2.80.0070.03010.27
5.2.70.0070.03410.26
5.2.60.0070.03410.23
5.2.50.0050.03210.19
5.2.40.0050.03410.19
5.2.30.0080.03110.09
5.2.20.0070.03110.13
5.2.10.0080.02510.01
5.2.00.0030.0309.90
5.1.60.0060.0239.21
5.1.50.0020.0279.21
5.1.40.0080.0249.19
5.1.30.0070.0259.54
5.1.20.0050.0299.57
5.1.10.0050.0279.29
5.1.00.0070.0369.29
5.0.50.0040.0237.77
5.0.40.0030.0227.48
5.0.30.0100.0387.30
5.0.20.0050.0257.28
5.0.10.0040.0197.25
5.0.00.0050.0327.24
4.4.90.0020.0195.85
4.4.80.0050.0175.77
4.4.70.0030.0155.77
4.4.60.0040.0185.77
4.4.50.0050.0165.77
4.4.40.0050.0405.77
4.4.30.0030.0255.77
4.4.20.0030.0185.83
4.4.10.0030.0185.83
4.4.00.0020.0265.80
4.3.110.0020.0185.57
4.3.100.0040.0145.55
4.3.90.0060.0205.54
4.3.80.0030.0265.53
4.3.70.0030.0155.53
4.3.60.0040.0155.54
4.3.50.0020.0175.53
4.3.40.0050.0235.49
4.3.30.0000.0294.30
4.3.20.0030.0224.21
4.3.10.0020.0164.11
4.3.00.0130.0237.13

preferences:
42.25 ms | 400 KiB | 5 Q