php 获取本机ipvar_dump(swoole_get_local_ip())
php 获取cpu核数echo swoole_cpu_num()
php 获取本机网卡Mac地址var_dump(swoole_get_local_mac())
依赖swoole扩展
php 获取本机ipvar_dump(swoole_get_local_ip())
php 获取cpu核数echo swoole_cpu_num()
php 获取本机网卡Mac地址var_dump(swoole_get_local_mac())
依赖swoole扩展
转载于:https://my.oschina.net/fage1151/blog/1831004