04-23-2008, 09:15 PM
|
#7 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
That is called a heredoc block and you can put in it what ever you need (from strings to php variables), without the need of escaping any quotes. It comes with a big con, though: it's slower that double quotes, and much slower than single quotes. Same security rules apply as for any string.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|