3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-tzfTMeu5_pg/VJNCmbI-LoI/AAAAAAAAAgU/wzvByaCCrZo/s1600/WhatWe'reGiving_CC.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-tzfTMeu5_pg/VJNCmbI-LoI/AAAAAAAAAgU/wzvByaCCrZo/s1600/WhatWe'reGiving_CC.png&quot; height=&quot;640&quot; width=&quot;586&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Catherine is our graphic design extraordinaire, the Catbirdette behind everything from the direction of our latest look book (Off Duty Ballerina!) to that killer&amp;nbsp;neon sign in the Catbird Wedding Annex. Kind of an obvious statement for me to say she has a great design sensibility, which is why I've been looking forward to peeking at her gift list!&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;I'm giving &lt;a href=&quot;https://catbirdnyc.com/shop/product.php?productid=19856&amp;amp;cat=0&amp;amp;page=1&quot;&gt;Rodin Lip Balm&lt;/a&gt; rings to my gal pals. I&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #222222;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;love finding gifts that strike that perfect balance between casual and fancy. The most refined lip balm in a pretty kitsch container hits the mark.&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #222222;&quot;&gt;The &lt;a href=&quot;https://catbirdnyc.com/shop/product.php?productid=19805&amp;amp;cat=0&amp;amp;page=1&quot;&gt;Swan Ring&lt;/a&gt; is for my mom&lt;/span&gt;&lt;b style=&quot;color: #222222;&quot;&gt;.&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;&amp;nbsp;A&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;s a Catbirdette who joined the team this&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i style=&quot;font-family: Georgia, 'Times New Roman', serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;year, I'm so excited to be a part of our ten year celebration, which almost everyone here worked on! My mom also collects unique pieces of jewelry from all over the world, but she doesn't own a swan from Brooklyn (yet).&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; color: black; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;For my&amp;nbsp;&lt;span style=&quot;line-height: 22.3999996185303px;&quot;&gt;&lt;span lang=&quot;fr&quot;&gt;fiancé, the &lt;a href=&quot;https://catbirdnyc.com/shop/product.php?productid=18686&amp;amp;cat=0&amp;amp;page=1&quot;&gt;E&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;&lt;a href=&quot;https://catbirdnyc.com/shop/product.php?productid=18686&amp;amp;cat=0&amp;amp;page=1&quot;&gt;quilateral Nails&lt;/a&gt; (and an appointment to the &lt;a href=&quot;http://ny.racked.com/tags/catbird-wedding-annex&quot;&gt;Wedding Annex&lt;/a&gt;. Haha)&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;. The nails are made by my friends at Winsome Brave, and are perfect for the apartment sprucing we're planning for the new year.&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; color: #222222;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;"; $string = html_entity_decode($string, ENT_QUOTES); echo htmlspecialchars_decode(htmlentities($string, ENT_NOQUOTES, 'UTF-8', false));
Output for 5.6.30
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-tzfTMeu5_pg/VJNCmbI-LoI/AAAAAAAAAgU/wzvByaCCrZo/s1600/WhatWe'reGiving_CC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-tzfTMeu5_pg/VJNCmbI-LoI/AAAAAAAAAgU/wzvByaCCrZo/s1600/WhatWe'reGiving_CC.png" height="640" width="586" /></a></div><br /><br /><span style="font-family: Georgia, Times New Roman, serif;">Catherine is our graphic design extraordinaire, the Catbirdette behind everything from the direction of our latest look book (Off Duty Ballerina!) to that killer&nbsp;neon sign in the Catbird Wedding Annex. Kind of an obvious statement for me to say she has a great design sensibility, which is why I've been looking forward to peeking at her gift list!</span><br /><span style="font-family: Georgia, Times New Roman, serif;"><br /></span><span style="font-family: Georgia, Times New Roman, serif;"><i><span style="background-color: white; color: #222222;">I'm giving <a href="https://catbirdnyc.com/shop/product.php?productid=19856&cat=0&page=1">Rodin Lip Balm</a> rings to my gal pals. I</span><b style="background-color: white; color: #222222;">&nbsp;</b><span style="background-color: white; color: #222222;">love finding gifts that strike that perfect balance between casual and fancy. The most refined lip balm in a pretty kitsch container hits the mark.</span></i></span><br /><b style="color: #222222; font-family: arial, sans-serif; font-size: 13px;"><i><br /></i></b><span style="font-family: Georgia, Times New Roman, serif;"><i><span style="color: #222222;">The <a href="https://catbirdnyc.com/shop/product.php?productid=19805&cat=0&page=1">Swan Ring</a> is for my mom</span><b style="color: #222222;">.</b><span style="background-color: white; color: #222222;">&nbsp;A</span><span style="background-color: white; color: #222222;">s a Catbirdette who joined the team this&nbsp;</span></i></span><i style="font-family: Georgia, 'Times New Roman', serif;"><span style="background-color: white; color: #222222;">year, I'm so excited to be a part of our ten year celebration, which almost everyone here worked on! My mom also collects unique pieces of jewelry from all over the world, but she doesn't own a swan from Brooklyn (yet).</span></i><br /><span style="background-color: white; color: black; font-family: arial, sans-serif; font-size: 13px;"><b><br /></b></span><span style="font-family: Georgia, Times New Roman, serif;"><i><span style="background-color: white; color: black;">For my&nbsp;<span style="line-height: 22.3999996185303px;"><span lang="fr">fianc&eacute;, the <a href="https://catbirdnyc.com/shop/product.php?productid=18686&cat=0&page=1">E</a></span></span></span><span style="background-color: white; color: #222222;"><a href="https://catbirdnyc.com/shop/product.php?productid=18686&cat=0&page=1">quilateral Nails</a> (and an appointment to the <a href="http://ny.racked.com/tags/catbird-wedding-annex">Wedding Annex</a>. Haha)</span><span style="background-color: white; color: #222222;">. The nails are made by my friends at Winsome Brave, and are perfect for the apartment sprucing we're planning for the new year.&nbsp;</span></i></span><br /><span style="font-family: Georgia, Times New Roman, serif;"><i><span style="background-color: white; color: #222222;"><br /></span></i></span><span style="font-family: Georgia, Times New Roman, serif;"><i><span style="background-color: white; color: #222222;"><br /></span></i></span>