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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/190609--/#findComment-1005270 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.