Rate this script:  I Love it  /   I Hate it

Integer to alphanumeric character


Code



function map_char($num) {
   $int = $num; $int+=48;
   ($int > 57) ? $int += 7 : null;
   ($int > 90) ? $int += 6 : null;
   return chr($int);
}

 

 

 
Integer to alphanumeric character scripts | Integer to alphanumeric character snippet | Integer to alphanumeric character example | Integer to alphanumeric character tutorial | Integer to alphanumeric character code