title: C & PHP: Storing settings in an integer using bitwise operators?
body: <p>I'm not familiar with bitwise operators, but I have seem them used to store simple settings before.</p>
  
  <p>I need to pass several on/off options to a function, and I'd like to use a single integer for this.  How can I go about setting and reading these options?</p>