original_string: public function checkIpIsInRange($ipGiven, $ipStart, $ipEnd)
      {
          $sReturn     = 'out';
          $startNo     = $this->convertIpToNumber($ipStart);
          $endNo       = $this->convertIpToNumber($ipEnd);
          $evaluatedNo = $this->convertIpToNumber($ipGiven);
          if ($sReturn == 'out') {
              if (($evaluatedNo >= $startNo) && ($evaluatedNo <= $endNo)) {
                  $sReturn = 'in';
              }
          }
          return $sReturn;
      }
code: public function checkIpIsInRange($ipGiven, $ipStart, $ipEnd)
      {
          $sReturn     = 'out';
          $startNo     = $this->convertIpToNumber($ipStart);
          $endNo       = $this->convertIpToNumber($ipEnd);
          $evaluatedNo = $this->convertIpToNumber($ipGiven);
          if ($sReturn == 'out') {
              if (($evaluatedNo >= $startNo) && ($evaluatedNo <= $endNo)) {
                  $sReturn = 'in';
              }
          }
          return $sReturn;
      }
code_tokens: public function checkIpIsInRange ( $ ipGiven , $ ipStart , $ ipEnd ) { $ sReturn = 'out' ; $ startNo = $ this -> convertIpToNumber ( $ ipStart ) ; $ endNo = $ this -> convertIpToNumber ( $ ipEnd ) ; $ evaluatedNo = $ this -> convertIpToNumber ( $ ipGiven ) ; if ( $ sReturn == 'out' ) { if ( ( $ evaluatedNo >= $ startNo ) && ( $ evaluatedNo <= $ endNo ) ) { $ sReturn = 'in' ; } } return $ sReturn ; }
docstring: Determines if a given IP is with a defined range
  
  @param ipv4 $ipGiven
  @param ipv4 $ipStart
  @param ipv4 $ipEnd
  @return string
docstring_tokens: Determines if a given IP is with a defined range