S1lentium / IPTools

PHP Library for manipulating network addresses (IPv4 and IPv6)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP 8 Exception: `Exclude subnet not within target network`

chescos opened this issue · comments

Running this code with PHP 7.4 works fine:

(new Range('49.12.11.10', '49.12.11.35'))->getNetworks();

However, with PHP 8.2, I'm getting this exception:

NetworkException: Exclude subnet not within target network