ip_address()

public function ip_address(): string

The ip_address() method is supported by a dedicated helper function. For guidance on how to use it, click here.