Method NetUtils.IpRangeLookup()->create()
- Method create
NetUtils.IpRangeLookup NetUtils.IpRangeLookup(
mapping
(mixed
:array
(string
))ranges
,int
|void
_debug
)- Description
Creates a new IpRangeLookup object and initialises the IP range table. Errors will be thrown if
ranges
contains invalid data.- Parameter
ranges
A mapping from information data to arrays of IP ranges.
Each range can be a single addresses ("192.168.1.1"), a range of addresses ("192.168.1.1-192.168.1.5") or be written in CIDR notation ("192.168.1.0/24").