title: sprintf argument swapping and HEREDOC
body: <p>I'm trying to use sprintf on a heredoc this way. It wont work. Any idea how to solve this?</p>
  <pre><code>$i = &lt;&lt;&lt;EOD
  This is your invoice for %1$s %1$s %1$s %1$s
  EOD;
  
  $year = '2013';
  
  $i = sprintf($i,$year);
  
  echo $i;
  </code></pre>
  <blockquote>
  <p>Notice: Undefined variable: s in</p>
  </blockquote>