From 5d01c58b7747b0a86431021757cf6aca298e88e7 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Tue, 3 Aug 2010 11:11:30 +0200 Subject: [PATCH] [ticket/9746] Update documentation of phpbb_inet_pton(). PHPBB3-9746 --- phpBB/includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 3048825064..41dad77141 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3393,7 +3393,8 @@ function phpbb_inet_ntop($in_addr) * * @param string $address A human readable IPv4 or IPv6 address. * -* @return string in_addr representation of the given address +* @return mixed false if address is invalid, +* in_addr representation of the given address otherwise (string) * * @author APTX */