3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputs = [ '[code-html]', '[code-css]', '[code-js]', ]; var_export( preg_replace('~\[code-(html|css|js)]~', '<pre><code class="language-$1">', $inputs) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => '<pre><code class="language-html">', 1 => '<pre><code class="language-css">', 2 => '<pre><code class="language-js">', )

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