Can PHP be more like python?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1266911/does-php-have-an-equivalent-to-pythons-list-comprehension-syntax">Does PHP have an equivalent to Python&#39;s list comprehension syntax?</a>  </p>
</blockquote>



<p>Does PHP have any equivalent of the simple and awesome list comprehension in python? Specifically, can I do <code>a = [x for x in xrange(1,20)]</code> in PHP w/o annoying loops?</p>
