class IPv4

IPv4 utilities.

Methods

static bool
inRange(string $ip, string $range)

Checks if an IP is in the specified range.

Details

at line 26
static bool inRange(string $ip, string $range)

Checks if an IP is in the specified range.

Parameters

string $ip IP address
string $range Ip address or IP range

Return Value

bool