Swoole Functions
PHP Manual

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

array swoole_get_local_ip ( void )

Parameters

This function has no parameters.

Return Values


Swoole Functions
PHP Manual