Isn't this the default behaviour of equal sign in PHP?<br>if ($res = $req-&gt;fetch()) {...},(reply>), Yup.<br><br>And PHP is awful. I think a great programming language could be made just by doing the opposite of whatever PHP does.