PHP - Manual: swoole_get_local_ip
2024-11-15
(PECL swoole >= 1.9.0)
swoole_get_local_ip — Get the IPv4 IP addresses of each NIC on the machine
此函数没有参数。
官方地址:https://www.php.net/manual/en/function.swoole-get-local-ip.php