3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Call a group of 8 Shadow Beasts to plummet from the sky at a targeted location dealing 3200% total weapon damage over 5 seconds and stunning enemies hit for 2 seconds.'; echo preg_replace("/[0-9]+%?/", '<span class="d3-text-green">$1</span>', $string);
Output for git.master, git.master_jit, rfc.property-hooks
Call a group of <span class="d3-text-green"></span> Shadow Beasts to plummet from the sky at a targeted location dealing <span class="d3-text-green"></span> total weapon damage over <span class="d3-text-green"></span> seconds and stunning enemies hit for <span class="d3-text-green"></span> seconds.

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:
37.12 ms | 405 KiB | 9 Q