original_string: public function jsonSerialize()
      {
          $ret = new StdClass;
          foreach ($this->map as $key => $value) {
              $ret->$key = (bool)($this->source & $value);
          }
          return $ret;
      }
code: public function jsonSerialize()
      {
          $ret = new StdClass;
          foreach ($this->map as $key => $value) {
              $ret->$key = (bool)($this->source & $value);
          }
          return $ret;
      }
code_tokens: public function jsonSerialize ( ) { $ ret = new StdClass ; foreach ( $ this -> map as $ key => $ value ) { $ ret -> $ key = ( bool ) ( $ this -> source & $ value ) ; } return $ ret ; }
docstring: Export this bitflag as a Json object. All known bits are exported as
  properties with true or false depending on their status.
  
  @return StdClass A standard class suitable for json_encode.
docstring_tokens: Export this bitflag as a Json object . All known bits are exported as properties with true or false depending on their status .