3v4l.org

run code in 300+ PHP versions simultaneously
<?php highlight_string('<?php phpinfo(); ?>'); echo PHP_EOL,PHP_EOL; highlight_string('<?php echo \'<script>alert("xss");</script>\'; ?><script>alert(\'xss\');</script>'); echo PHP_EOL,PHP_EOL; highlight_string('<script>alert(\'xss\');</script>');
Output for git.master, git.master_jit, rfc.property-hooks
<code><span style="color: #000000"> <span style="color: #0000BB">&lt;?php&nbsp;phpinfo</span><span style="color: #007700">();&nbsp;</span><span style="color: #0000BB">?&gt;</span> </span> </code> <code><span style="color: #000000"> <span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">'&lt;script&gt;alert("xss");&lt;/script&gt;'</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">?&gt;</span>&lt;script&gt;alert('xss');&lt;/script&gt;</span> </code> <code><span style="color: #000000"> &lt;script&gt;alert('xss');&lt;/script&gt;</span> </code>

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:
69.92 ms | 407 KiB | 5 Q