ipaddresses: domci update docs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4029 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user