title: What is the pro and cons using Heredoc Notation in your PHP?
body: <p>I've never seen something like this before. So, it's confusing me for a while. But now I understand and use it sometimes. So, after brief experience, can anybody tell me what is the pro and cons using Heredoc Notation in your PHP?</p>
  
  <pre><code>$stringval = &lt;&lt;&lt;MYHEREDOC
  
     just creating variable here. nothing more.
  
  MYHEREDOC;
  </code></pre>
  
  <p>Personally, how do you use this PHP feature? Is it a bad way of coding or good way?</p>