3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decode_code($code){ return preg_replace_callback( "@\\\(x)?([0-9a-f]{2,3})@", function($m){ return chr($m[1]?hexdec($m[2]):octdec($m[2])); }, $code ); } echo decode_code("\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65"); echo decode_code("\x67\x7a\x69\x6e\x66\x6c\x61\x74\x65"); ?>
Output for git.master, git.master_jit, rfc.property-hooks
base64_decodegzinflate

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:
47.14 ms | 401 KiB | 8 Q