original_string: protected static function maskHasFlag($mask, $flag)
      {
          $flag   = (int)$flag;
          return ((int)$mask & $flag) === $flag;
      }
code: protected static function maskHasFlag($mask, $flag)
      {
          $flag   = (int)$flag;
          return ((int)$mask & $flag) === $flag;
      }
code_tokens: protected static function maskHasFlag ( $ mask , $ flag ) { $ flag = ( int ) $ flag ; return ( ( int ) $ mask & $ flag ) === $ flag ; }
docstring: Checks if a bitmask has a specific flag set
  
  @param   integer     $mask   The bitmask
  @param   integer     $flag   The flag to check
  @return  boolean
docstring_tokens: Checks if a bitmask has a specific flag set