PHP Notice: Undefined index:解决方法

PHP Notice:  Undefined index:解决方法

PHP Notice: Undefined index: 解决方法

<pre>
if (empty(swoole_get_local_ip()['eth1'])) {

} else {

}
</pre>


加个exmpty就可以了

猜你喜欢

转载自www.cnblogs.com/newmiracle/p/11856230.html
今日推荐