3v4l.org

run code in 300+ PHP versions simultaneously
<?php $your_string = "<p>Hi this is &lt;&lt;name&gt;&gt; and I am living in &lt;&lt;address&gt;&gt;</p>"; echo preg_replace('~(&lt;&lt;)(.*?)(&gt;&gt;)~',"$$2",$your_string)."\n"; echo str_replace(array("&lt;&lt;","&gt;&gt;"),array("$",""),$your_string);
Output for git.master, git.master_jit, rfc.property-hooks
<p>Hi this is $name and I am living in $address</p> <p>Hi this is $name and I am living in $address</p>

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:
165.42 ms | 405 KiB | 5 Q