Discussion board
What is Here Documents ?
By Abhijit Paul
here document......
Reply
Post   Reset
Teacher SiliconIndia replied to Abhijit Paul Wednesday, March 17, 2010
Hi Abhijit,
The heredoc string structure is a method of including larger strings inside your code. You can use it to include content of any length. To create a heredoc,you use a special operator that is made up of three left brackets(<<<). The syntax is as follows

$longString = <<< termination_marker
Any amount of content You can write here
termination_marker