3v4l.org

run code in 300+ PHP versions simultaneously
<?php function toAlpha ($num) { return strtr($num, range("A", "Z")); } $string = toAlpha("138201162401719"); echo "$string\n"; $string = toAlpha("123456789012345"); echo "$string\n"; $string = toAlpha("101112131415161"); echo "$string\n"; $string = toAlpha("2625242322212019"); echo "$string";
Output for rfc.property-hooks, git.master, git.master_jit
NIULGYART MDEFGHIJAMDEF KLMNOPQB CGZYXWVUT

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:
55.18 ms | 2624 KiB | 4 Q