long2ip() expects parameter 1 to be integer, string given
Opened this issue · 3 comments
indiboy commented
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)); } }
omansour commented
maybe. Can you describe a bit more how you get this error ? In wich php version ?
Txs