swoole_get_local_ip

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

swoole_get_local_ipGet the IPv4 IP addresses of each NIC on the machine

Description

swoole_get_local_ip ( void ) : array

Parameters

This function has no parameters.

Return Values