Function range2ip
Convert a range of given IP number into a single string. It's practically the reverse function of ip2range().
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Example: range2ip(array(10, 10, 10, 0), array(10, 10, 20, 255)) returns '10.10.10-20.*
Located at Sources/ManageBans.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Example: range2ip(array(10, 10, 10, 0), array(10, 10, 20, 255)) returns '10.10.10-20.*
Located at Sources/ManageBans.php
array |
$low |
The low end of the range in IPv4 format |
array |
$high |
The high end of the range in IPv4 format |
string
|
A string indicating the range |