PHP seems to return IPV6 address/port combos like this:
::1:1234, where ::1 is the address and 1234 the port
So, the part number here is either the last : delimited section (the port)
or all the other sections (the whole initial part, the address).
public static getNamePart ( string $name, $part ) : string | ||
$name | string | (from $this->getName() usually) |
Результат | string |