1
$channel =<<<_XML_;
  1. what is meaning of above statement ?
  2. Is XML predefined variable ?
  3. What is the meaning of <<<
chris85
  • 23,591
  • 7
  • 30
  • 47
Denil Nair
  • 76
  • 5

1 Answers1

1

This syntax is called a heredoc. It's very convenient to enter long (usually multiline) strings without having to mess around with escaping etc.

Mureinik
  • 277,661
  • 50
  • 283
  • 320