src/SubnetCalculator.php
public function getAllIPAddresses()
    {
        list($start_ip, $end_ip) = $this->getIPAddressRangeAsInts();

        for ($ip = $start_ip; $ip <= $end_ip; $ip++) {
            yield long2ip($ip);
        }
    }
public function getAllIPAddresses()
    {
        list($start_ip, $end_ip) = $this->getIPAddressRangeAsInts();

        for ($ip = $start_ip; $ip <= $end_ip; $ip++) {
            yield long2ip($ip);
        }
    }
public function getAllIPAddresses ( ) { list ( $ start_ip , $ end_ip ) = $ this -> getIPAddressRangeAsInts ( ) ; for ( $ ip = $ start_ip ; $ ip <= $ end_ip ; $ ip ++ ) { yield long2ip ( $ ip ) ; } }
Get all IP addresses

@return \Generator|string[]
Get all IP addresses