title: php AND question
body: <p>The following code does not give any error. But I am buffled with the second part. </p>
  
  <pre><code>  ..........
   // Get meta data for the module
  $this-&gt;template-&gt;module_details = $this-&gt;module_details =     
  $this-&gt;module_m-&gt;get($this-&gt;module);
  
  // If the module is disabled, then show a 404.
  empty($this-&gt;module_details['enabled']) AND show_404();
  ..........
  </code></pre>
  
  <p>For me the second part should be something like this.</p>
  
  <pre><code>if(empty($this-&gt;module_details['enabled']){
  show_404();
  }
  </code></pre>
  
  <p>Q1. Is it the same? What's going on with AND?</p>
  
  <p>Q2. Can you put = twice as in the first part? Why do you need to do it? (A=B=C)</p>
  
  <p>Thanks in advance.</p>