PHP Tips

From KdjWiki

Jump to: navigation, search

Advanced Variables

You can populate a variable with an arbitrary string using the following syntax:

$text=<<<EOF

This is some text :-
and here is some more.

I can event "quote" (or 'quote') using this syntax!

EOF;