Lambda and colon in while statement for PHP?
<p>What does the below code mean (it's a lambda in the while-statement, then a colon after)? Coming from JavaScript, I have no idea what that means or even how to search for that. Can anyone help explain this?</p>

<pre><code>while ($query-&gt;have_posts()): $query-&gt;the_post();
</code></pre>

<p>Btw I got this from WordPress but is the syntax pure PHP?</p>
