Convert Character To Integer (ASCII)
Posted: Thu Apr 17, 2008 12:59 am
Hello PHP people. Can anyone please tell me how to convert character to integer (ascii code that is)?
I know in C++ you can do it simply:
char c = 'a';
int ascii = c;
Thank you in advance
I know in C++ you can do it simply:
char c = 'a';
int ascii = c;
Thank you in advance