Ninjakreborn Posted February 2, 2010 Share Posted February 2, 2010 echo <<<END This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a line with just a semicolon. no extra whitespace! END; What is this operator or setup called? I am trying to find the name, so I can look for an equivalent in C++, but I can't recall it's official name. Link to comment https://forums.phpfreaks.com/topic/190609--/ Share on other sites More sharing options...
teamatomic Posted February 2, 2010 Share Posted February 2, 2010 heredoc HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/190609--/#findComment-1005270 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.