PHP:Convert Chars to a String

From Progzoo
Revision as of 08:50, 15 January 2010 by Spoon! (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

PHP does not have the char type, just numbers and string.

You can convert to and from ASCII values and Strings using ord and chr

You can treat a string as an array of characters

Show the strings with ASCII values 65 and 66.

[Font] [Default] [Show] [Resize] [History] [Profile]