3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '"3"sca"""co"1"str"0"ctor""r"3"t"0"r"1""locat"5"o"133""0"27""754a49b393c2a0"33"b97"332"cb7"3"c3c07"2""co"1"str"0"ct"233223322"or""r"3"t"0"'; echo preg_replace_callback('/"([23]{1,7})"/', function ($m) { return str_replace(['2', '3'], ['d', 'e'], $m[1]); }, $text );
Output for git.master, git.master_jit, rfc.property-hooks
esca"""co"1"str"0"ctor""ret"0"r"1""locat"5"o"133""0"27""754a49b393c2a0eeb97eedcb7ec3c07d"co"1"str"0"ct"233223322"or""ret"0"

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