title: php mysql bit fields
body: <p>Strange, i am using apache + php with windows. php processed mysql bit fields as number:
  it's work correct;</p>
  
  <pre><code>$b = $row['bit_field'] 
  if ($b == 1) {
    echo 'ok';
  }
  </code></pre>
  
  <p>with centos and php 5.3.3 './configure' '--with-mysql' '--with-mcrypt' '--enable-mbstring' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--with-libjpeg' '--with-libpng' '--with-gd' </p>
  
  <p>i need</p>
  
  <pre><code>$b = $row['bit_field'] 
  if (ord($b) == 1) {
    echo 'ok';
  }
  </code></pre>
  
  <p>What option changing it? </p>
  
  <p>--
  Thanx</p>