3v4l.org

run code in 300+ PHP versions simultaneously
<?php $return = ''; $base = '01234567890'; $num = 11112887; $result_62 = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; $base_arr = str_split($base); $base_len = 10; $result_62_arr = str_split($result_62); $result_62_len = 62; $num_arr = str_split($num); $num_len = strlen($num); while($num != '0') { $return = $result_62_arr[bcmod($num,62)].$return; $num = bcdiv($num,62,0); } echo $return;
Output for git.master, git.master_jit, rfc.property-hooks
KCY7

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