version: 2.1.3







ipInRange

Check given IP is in the given IP range or not

Parameters

ip string ip for check Yes
range string ip range for check Yes

Method errors

ErrorNamedescription
ip parameter not found parameter ip not founded , set it like example
range parameter not foundd parameter range not founded , set it like example

Method examples

$this->ipInRange(['ip'=>'192.168.1.1','range'=>'149.154.160.0/20']);

Method alices

There is no alices

Method output :

Boolean