yuliji
9/17/2014 - 2:30 AM

print code of char

print code of char

 $str2 = 'p~a!n#b*i&n^g%';
 for ($i = 0; $i < strlen($str2); $i++){
    echo $str2[$i].": ".ord($str2[$i])."\n";
 }