3v4l.org

run code in 300+ PHP versions simultaneously
<?php function mybase33($number) { return strtr(base_convert($number, 10, 33), [ 'i' => 'j', 'j' => 'k', 'k' => 'm', 'l' => 'n', 'm' => 'p', 'n' => 'q', 'o' => 'r', 'p' => 's', 'q' => 't', 'r' => 'u', 's' => 'v', 't' => 'w', 'u' => 'x', 'v' => 'y', 'w' => 'z', ]); } echo "9 is ".mybase33(9)."\n"; echo "10 is ".mybase33(10)."\n"; echo "12 is ".mybase33(12)."\n"; echo "14 is ".mybase33(14)."\n"; echo "32 is ".mybase33(32)."\n"; echo "33 is ".mybase33(33)."\n"; echo "34 is ".mybase33(34)."\n";
Output for git.master, git.master_jit, rfc.property-hooks
9 is 9 10 is a 12 is c 14 is e 32 is z 33 is 10 34 is 11

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.86 ms | 401 KiB | 8 Q