3v4l.org

run code in 500+ PHP versions simultaneously
<?php $plaintext_content = '<&>: &lt;&amp;&gt;'; $plaintext_content = strtr( $plaintext_content, array( '<' => '&lt;', '&' => '&amp;', '>' => '&gt;', ) ); echo $plaintext_content === '&lt;&amp;&gt;: &amp;lt;&amp;amp;&amp;gt;' ? '✅ PASS' : '❌ FAIL'; echo "\n"; echo 'Actual: ' . $plaintext_content;
Output for git.master_jit, git.master
✅ PASS Actual: &lt;&amp;&gt;: &amp;lt;&amp;amp;&amp;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:
47.49 ms | 2772 KiB | 4 Q