PHP - Assigning values within if statements
<p>I read the other day that assigning values within if statements isn't such a great idea.
To be honest i actually use this quite a lot e.g.</p>

<pre><code>if(isset($_POST) &amp;&amp; $post = $_POST) {
  print_r($post)
}
</code></pre>

<p>Any idea why that isn't optimal?</p>
