Browse Source

Don't need this check.

PHP-4.0.5
Andrei Zmievski 27 years ago
parent
commit
b1de472ba3
  1. 4
      ext/standard/basic_functions.c

4
ext/standard/basic_functions.c

@ -495,10 +495,6 @@ PHP_FUNCTION(ip2long)
convert_to_string_ex(str);
if ((*str)->type != IS_STRING) {
RETURN_FALSE;
}
RETURN_LONG ( inet_addr ( ( *str ) -> value.str.val ) );
}

Loading…
Cancel
Save