I needed to take a string, such as "255.255.255.0/24" and get an array containing every value from "255.255.255.0" to "255.255.255.255".
This is the question that I found, from 2013: https://stackoverflow.com/questions/15521725/php-generate-ips-list-from-ip-range/15613770#15613770
Edmhs answered their own question, with a function:
function ipListFromRange($range){
$parts = explode('/',$range);
$exponent = 32-$parts[1].'-';