Wednesday, May 24, 2006

PHP Script TipPHP Script Tips - Understanding PHP String Literals

A collection of 10 tips on PHP string literals. Clear answers are provided with tutorial exercises on single-quoted strings, double-quoted strings, and string elements.

What Are the Special Characters You Need to Escape in Single-Quoted Stings?
Can You Specify the "new line" Character in Single-Quoted Strings?
How Many Escape Sequences Are Recognized in Single-Quoted Strings?
What Are the Special Characters You Need to Escape in Double-Quoted Stings?
How Many Escape Sequences Are Recognized in Double-Quoted Strings?
How To Include Variables in Double-Quoted Strings?
How Many Ways to Include Variables in Double-Quoted Strings?
How Many Ways to Include Array Elements in Double-Quoted Strings?
How To Access a Specific Character in a String?
How To Assigning a New Character in a String?


----->Answers

No comments: