original_string: protected function compare($first, $second, $operator)
      {
          switch ($operator) {
              case '<':
                  return $first < $second;
              case '>':
                  return $first > $second;
              case '<=':
                  return $first <= $second;
              case '>=':
                  return $first >= $second;
              case '=':
                  return $first == $second;
              default:
                  throw new InvalidArgumentException;
          }
      }
code: protected function compare($first, $second, $operator)
      {
          switch ($operator) {
              case '<':
                  return $first < $second;
              case '>':
                  return $first > $second;
              case '<=':
                  return $first <= $second;
              case '>=':
                  return $first >= $second;
              case '=':
                  return $first == $second;
              default:
                  throw new InvalidArgumentException;
          }
      }
code_tokens: protected function compare ( $ first , $ second , $ operator ) { switch ( $ operator ) { case '<' : return $ first < $ second ; case '>' : return $ first > $ second ; case '<=' : return $ first <= $ second ; case '>=' : return $ first >= $ second ; case '=' : return $ first == $ second ; default : throw new InvalidArgumentException ; } }
docstring: Determine if a comparison passes between the given values.
  
  @param  mixed  $first
  @param  mixed  $second
  @param  string  $operator
  @return bool
  
  @throws \InvalidArgumentException
docstring_tokens: Determine if a comparison passes between the given values .