3

Possible Duplicate:
In PHP, what does “<<<” represent?
Reference - What does this symbol mean in PHP?

I ran into this in a PHP script.

(Be aware, I'm new at this so I might look dumb)

$Var['Text'] = <<<OUT
String Here
OUT;
Community
  • 1
  • 1
  • What is the point of that now?! There is nothing in the string, anyways thanks. –  Dec 09 '12 at 20:36
  • Please see also: http://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php – Charles Dec 09 '12 at 20:41

3 Answers3

3

That's called the Heredoc syntax to mark strings. Check it out!

Madara's Ghost
  • 172,118
  • 50
  • 264
  • 308
0

It's a heredoc. Think multi line string.

tommyo
  • 531
  • 4
  • 10
0

It is called heredoc, see here. It is another way to create strings.

lupatus
  • 4,208
  • 17
  • 19