original_string: protected function _validateIPv4($value) {
          $ip2long = ip2long($value);
          if($ip2long === false) {
              return false;
          }
  
          return $value == long2ip($ip2long);
      }
code: protected function _validateIPv4($value) {
          $ip2long = ip2long($value);
          if($ip2long === false) {
              return false;
          }
  
          return $value == long2ip($ip2long);
      }
code_tokens: protected function _validateIPv4 ( $ value ) { $ ip2long = ip2long ( $ value ) ; if ( $ ip2long === false ) { return false ; } return $ value == long2ip ( $ ip2long ) ; }
docstring: Validates an IPv4 address
  
  @param string $value
docstring_tokens: Validates an IPv4 address