darsyn / ip

Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
http://darsyn.github.io/ip/
MIT License
245 stars 21 forks source link

Update IpInterface::inRange() #75

Closed zanbaldwin closed 2 years ago

zanbaldwin commented 2 years ago

Do not merge until after #76 (update AbstractIP::isSameByteLength() to use Darsyn\IP\Util\MbString).

zanbaldwin commented 2 years ago

Unsure whether this is a breaking change or not :thinking:

Technically an exception is thrown where one wasn't before, but only on invalid inputs that would thrown an exception for all similar methods.