title: What is & in return($var & 1) in PHP
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php">Reference - What does this symbol mean in PHP?</a>  </p>
  </blockquote>
  
  
  
  <p>When I was reading <a href="http://php.net/manual/en/function.array-filter.php" rel="noreferrer">this php page</a>, I was not sure what &amp; is doing in $var &amp; 1.</p>
  
  <pre><code>function odd($var)
  {
      // returns whether the input integer is odd
      return($var &amp; 1);
  }
  </code></pre>
  
  <p>Is it <a href="http://www.php.net/manual/en/language.references.return.php" rel="noreferrer">returning a reference</a>? I am not sure.</p>
  
  <p>If you can explain it or direct me a php page, I will appreciate it.</p>
  
  <p>Thanks in advance.</p>