Firewall
Firewall copied to clipboard
long2ip() expects parameter 1 to be integer, string given
long2ip() expects parameter 1 to be integer, string given
protected function long2ip($long, $abbr = true) { switch(static::NB_BITS) { case 128: return $this->long2ip6($long, $abbr); default: return strval(long2ip($long)); } }
下面的链接,修改之后就会报错,是修改不恰当还是? https://github.com/M6Web/Firewall/issues/6 this bug is wrong?php7 error.
maybe. Can you describe a bit more how you get this error ? In wich php version ?
Txs
环境是php7 ,php5.6下正常, 下面的这个bug,php7运行环境下是没有的。我删除了这个修改,就好了。 https://github.com/M6Web/Firewall/issues/6