The PHP ord() function

 

Find out what the ASCII value of a character is with this string function. To see what ASCII value the @ symbol returns, you can use it like this:

$ascii_num = ord("@");

print $ascii_num;

<-- Back One Page | Move on to the Next Part -->

Back to the PHP Contents Page