- mb_ord: documentation ( source)
- var_dump: documentation ( source)
- dechex: documentation ( source)
<?php
$text="ála";
for($d=0;$d<strlen($text);$d++)
{
echo $text[$d] . "<br>";
}
$char = 'á';
$char = 'a';
$hex = dechex(mb_ord($char));
var_dump($hex);