- var_dump: documentation ( source)
- bin2hex: documentation ( source)
- strtoupper: documentation ( source)
- setlocale: documentation ( source)
<?php
setlocale(LC_ALL, "Turkish");
$str="i";
$res=strtoupper($str);
var_dump([
"str"=>$str,
"str_hex"=>bin2hex($str),
"res"=>$res,
"res_hex"=>bin2hex($res),
]);