Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php ascii to decimal

function ascii_to_dec($str)
{
  for ($i = 0, $j = strlen($str); $i < $j; $i++) {
    $dec_array[] = ord($str{$i});
  }
  return $dec_array;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #ascii #decimal
ADD COMMENT
Topic
Name
3+9 =