From 6e10f2d9d42df44c6e06ab95a99d3885e3a6c6e1 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 12 Jan 2018 11:18:13 +0000 Subject: [PATCH] ipaddresses: domci update docs git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4029 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- ipaddresses.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipaddresses.php b/ipaddresses.php index e9084b8..ee7082b 100644 --- a/ipaddresses.php +++ b/ipaddresses.php @@ -92,11 +92,12 @@ class ipaddresses return true; } - /** Return the IPv6 to compressed form. + /** Return the IPv6 to compressed (or compact) form. * Remove the 0 when they are placed on the begin of the nibble. * Remove all the blocks only zero to convert them to :: (but only one time) * Example: 2001:0660:530d:0201:0000:0000:0000:0124 => 2001:660:530d:201::124 * If an IPv4 is provided, return it without modification + * @param string $ip The IP to compress */ public function compressIP ($ip) {