title: What's the error in the following PHP code?
body: <p>I'm testing the following code. I'm using PHP heredoc but I'm getting an error from dreamweaver. If I write it manually, it works. If I copy paste it doesn't work. Why is that?</p>
  
  <pre><code>&lt;?php
  
  $e=&lt;&lt;&lt;EOP
  whoever
  EOP;
  
  $el=&lt;&lt;&lt;EOG
  whatever
  EOG; 
  ?&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/874vZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/874vZ.png" alt=""></a></p>