title: PHP multiline string with PHP
body: <p>I need to echo a lot of PHP and HTML.</p>
  
  <p>I already tried the obvious, but it's not working:</p>
  
  <pre><code>&lt;?php echo '
  &lt;?php if ( has_post_thumbnail() ) {   ?&gt;
        &lt;div class="gridly-image"&gt;&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_post_thumbnail('summary-image', array('class' =&gt; 'overlay', 'title'=&gt; the_title('Read Article ',' now',false) ));?&gt;&lt;/a&gt;
        &lt;/div&gt;
        &lt;?php }  ?&gt;
  
        &lt;div class="date"&gt;
        &lt;span class="day"&gt;
          &lt;?php the_time('d') ?&gt;&lt;/span&gt;
        &lt;div class="holder"&gt;
          &lt;span class="month"&gt;
            &lt;?php the_time('M') ?&gt;&lt;/span&gt;
          &lt;span class="year"&gt;
            &lt;?php the_time('Y') ?&gt;&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;?php }  ?&gt;';
  ?&gt;
  </code></pre>
  
  <p>How can I do it?</p>