3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @link https://stackoverflow.com/a/8314506/367456 */ $content = '\tThis variable is not set by me.\nCannot do anything about it.\n'; echo "input:\n======\n", $content, "\n\n", "output:\n=======\n", preg_replace_callback( '/\\\\([nrtvf\\\\$"]|[0-7]{1,3}|\x[0-9A-Fa-f]{1,2})/', fn($matches) => stripcslashes($matches[0]), $content ) ;
Output for git.master, git.master_jit, rfc.property-hooks
input: ====== \tThis variable is not set by me.\nCannot do anything about it.\n output: ======= This variable is not set by me. Cannot do anything about it.

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