inet_pton
laravel/framework
Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Converts a human readable IP address to its packed in_addr representation
<?php inet_pton
(
string $ip
):
string
|
false