swoole_get_local_ip

(PECL swoole >= 1.9.0)

swoole_get_local_ipGet the IPv4 IP addresses of each NIC on the machine

說明

swoole_get_local_ip(): array

參數(shù)

此函數(shù)沒有參數(shù)。

返回值