original_string: private function isValueValid(array $values): bool
      {
          foreach ($values as $value) {
              if (\preg_match("/[^\t\r\n\x20-\x7e\x80-\xfe]|\r\n/", $value)) {
                  return false;
              }
          }
  
          return true;
      }
code: private function isValueValid(array $values): bool
      {
          foreach ($values as $value) {
              if (\preg_match("/[^\t\r\n\x20-\x7e\x80-\xfe]|\r\n/", $value)) {
                  return false;
              }
          }
  
          return true;
      }
code_tokens: private function isValueValid ( array $ values ) : bool { foreach ( $ values as $ value ) { if ( \ preg_match ( "/[^\t\r\n\x20-\x7e\x80-\xfe]|\r\n/" , $ value ) ) { return false ; } } return true ; }
docstring: Determines if the given value is a valid header value.
  
  @param string[] $values
  
  @return bool
  
  @throws \Error If the given value cannot be converted to a string and is not an array of values that can be
  converted to strings.
docstring_tokens: Determines if the given value is a valid header value .