3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = '<a class="mug js-simulcast-episode-link" id="nowshowing_thumb_777521" style="display: block;" href="/that-time-i-got-reincarnated-as-a-slime/episode-3-battle-at-the-goblin-village-777521" token="now_showing_mug" data-series-name="That Time I Got Reincarnated as a Slime" data-episode-name="Battle at the Goblin Village"> <img class="welcome-media-mug" src="https://img1.ak.crunchyroll.com/i/spire4-tmb/cec7b1597bd1969479a3210d99468d701539609551_wide.jpg" alt="That Time I Got Reincarnated as a Slime Episode 3"> </a>'; echo htmlspecialchars($a);
Output for 7.3.0rc3
&lt;a class=&quot;mug js-simulcast-episode-link&quot; id=&quot;nowshowing_thumb_777521&quot; style=&quot;display: block;&quot; href=&quot;/that-time-i-got-reincarnated-as-a-slime/episode-3-battle-at-the-goblin-village-777521&quot; token=&quot;now_showing_mug&quot; data-series-name=&quot;That Time I Got Reincarnated as a Slime&quot; data-episode-name=&quot;Battle at the Goblin Village&quot;&gt; &lt;img class=&quot;welcome-media-mug&quot; src=&quot;https://img1.ak.crunchyroll.com/i/spire4-tmb/cec7b1597bd1969479a3210d99468d701539609551_wide.jpg&quot; alt=&quot;That Time I Got Reincarnated as a Slime Episode 3&quot;&gt; &lt;/a&gt;