original_string: public function sanitize($input = false) {
  
          if($input) {
  
              if(Validate::isArray($input)) {
  
                  return filter_var_array($input,FILTER_SANITIZE_STRING);
              } 
              if(Validate::isString($input)) {
                  
                  return filter_var($input, FILTER_SANITIZE_STRING);
              } 
          }
  
          return false;
      }
code: public function sanitize($input = false) {
  
          if($input) {
  
              if(Validate::isArray($input)) {
  
                  return filter_var_array($input,FILTER_SANITIZE_STRING);
              } 
              if(Validate::isString($input)) {
                  
                  return filter_var($input, FILTER_SANITIZE_STRING);
              } 
          }
  
          return false;
      }
code_tokens: public function sanitize ( $ input = false ) { if ( $ input ) { if ( Validate :: isArray ( $ input ) ) { return filter_var_array ( $ input , FILTER_SANITIZE_STRING ) ; } if ( Validate :: isString ( $ input ) ) { return filter_var ( $ input , FILTER_SANITIZE_STRING ) ; } } return false ; }
docstring: Sanitize input.
  @param array || string
  @return array || string
docstring_tokens: Sanitize input .