Searched refs:mayIncludePort (Results 1 – 3 of 3) sorted by relevance
/plugin/ipban/ip-lib/src/ |
H A D | Factory.php | 16 * @param bool $mayIncludePort set to false to avoid parsing addresses with ports 21 …public static function addressFromString($address, $mayIncludePort = true, $mayIncludeZoneID = tru… argument 25 $result = Address\IPv4::fromString($address, $mayIncludePort); 28 $result = Address\IPv6::fromString($address, $mayIncludePort, $mayIncludeZoneID);
|
/plugin/ipban/ip-lib/src/Address/ |
H A D | IPv4.php | 68 * @param bool $mayIncludePort set to false to avoid parsing addresses with ports 72 public static function fromString($address, $mayIncludePort = true) argument 77 if ($mayIncludePort) {
|
H A D | IPv6.php | 78 * @param bool $mayIncludePort set to false to avoid parsing addresses with ports 83 public static function fromString($address, $mayIncludePort = true, $mayIncludeZoneID = true) argument 88 …if ($mayIncludePort && $address[0] === '[' && preg_match('/^\[(.+)\]:\d+$/', $address, $matches)) {
|