3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '&lt;a href="http://lenta.ru/news/2015/07/23/tsipras/" &gt; &amp;laquo;Лента.ру&amp;raquo; &lt;/a&gt;'; $aq = preg_replace('~&lt;a\b[^&gt;]*+&gt;|&lt;/a\b[^&gt;]*+&gt;~', '', $string); echo $aq; echo '<br /><br /><br />'.strip_tags(htmlspecialchars_decode($string), '<a>');
Output for git.master, git.master_jit, rfc.property-hooks
&lt;a href="http://lenta.ru/news/2015/07/23/tsipras/" &gt; &amp;laquo;Лента.ру&amp;raquo; <br /><br /><br /><a href="http://lenta.ru/news/2015/07/23/tsipras/" > &laquo;Лента.ру&raquo; </a>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
59.08 ms | 401 KiB | 8 Q