title: Shorthand For Loop in PHP
body: <p>I have three-rows code:</p>
  
  <pre><code>echo '&lt;div&gt;';
  for ($i=1; $i&lt;=4; $i++) echo $i;
  echo '&lt;/div&gt;';
  </code></pre>
  
  <p>Is there any syntax or function let me rewrite above code in only ONE row, for example:</p>
  
  <pre><code>echo '&lt;div&gt;'.(for...).'&lt;/div&gt;'; //error
  </code></pre>
  
  <p>Thanks</p>