mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Don't need this check.
This commit is contained in:
parent
0e18779e8b
commit
b1de472ba3
@ -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…
Reference in New Issue
Block a user