re: Daily Challenge #31 - Count IPv4 Addresses VIEW POST

FULL DISCUSSION
 

PHP :D

function ipsBetween($from, $to)
{
    return ip2long($to) - ip2long($from);    
}

demo: 3v4l.org/8NiWc

code of conduct - report abuse