3v4l.org

run code in 500+ PHP versions simultaneously
<?php $text = 'Working from ${spa_open_time} to ${spa_close_time} every day'; $text = preg_replace_callback('/\${(\w+)}/', function($matches) { return sprintf('<span id="tag_%s">%s</span>',$matches[1], $matches[0]); }, $text); echo $text;
Output for git.master, git.master_jit, rfc.property-hooks
Working from <span id="tag_spa_open_time">${spa_open_time}</span> to <span id="tag_spa_close_time">${spa_close_time}</span> every day

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:
50.6 ms | 1362 KiB | 4 Q