3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '<?xml version="1.0" encoding="UTF-8"?> <resources> <string name="en_home">Home</string> <string name="fr_home">Maison</string> <string name="zh_home">家</string> </resources>'; $string = htmlspecialchars($string); print_r($string);
Output for git.master, git.master_jit, rfc.property-hooks
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;resources&gt; &lt;string name=&quot;en_home&quot;&gt;Home&lt;/string&gt; &lt;string name=&quot;fr_home&quot;&gt;Maison&lt;/string&gt; &lt;string name=&quot;zh_home&quot;&gt;家&lt;/string&gt; &lt;/resources&gt;

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:
39.79 ms | 402 KiB | 8 Q