Net_IPv6
pear.php.net
Check and validate IPv6 addresses
The class allows you to: * check if an address is an IPv6 address * compress/uncompress IPv6 addresses * check for an IPv4 compatible ending in an IPv6 address * check the assigned address space of an IPv6 address * do netmask calculations
Alexander Merz
alexmerz
alexander.merz@web.de yes
2015-06-14
14:28:17
1.3.0b1
1.2.2
beta
stable
BSD
#20558 String offset cast occurred Use static keyword for class method declarations Use public/protected keyword class method declarations
4.0.0
1.4.0b1
2012-03-23
01:22:00
1.2.2b2
1.2.2
beta
alpha
BSD
#19334 CheckIPv6 accepted invalid characters
2011-11-15
01:50:00
1.2.2b
1.2.2
beta
alpha
BSD
#18687 Add recommendedFormat() provided by Tetsuji Koyama to respect RFC5952 about shortening of 0-Byte segments. The method may become a part of compress() in a stable release. #18976 Rok Potocnik spotted a missing range check for the netmask value while checking an IPv6 address.
2011-02-07
22:45:00
1.2.1
1.2.0
stable
stable
BSD
No Changes. Go to stable.
2010-12-30
05:30:00
1.2.1RC1
1.2.0
beta
beta
BSD
Go to Release Candidate. Updated Peardoc to reflect the API changes.
2010-12-22
02:10:00
1.2.1b1
1.2.0
beta
alpha
BSD
Feature request: + add parameter to uncompress() to add leading zeros to an address (Pascal Uhlmann)
2010-11-25
14:30:00
1.2.1b
1.2.0
beta
alpha
BSD
#18085 Fix wrong file path
2010-11-18
03:40:00
1.2.0b
1.2.0
beta
alpha
BSD
+ New method isCompressible() + New method separate() + compress() got a second parameter to enforce compression + add new address types - deprecated getPrefixLength() (technical identical to getNetmaskSpec) - deprecated removePrefixLength() (technical identical to removeNetmaskSpec)
2010-11-08
19:15:00
1.1.0
1.1.0
stable
stable
BSD
Jump from beta to stable. Fixed: #17819 documentation needs to be updated
1.1.0b2
1.1.0b1
beta
beta
BSD
Fixed: #14747 Compressing an already compressed IP returns the IP "as is" now #15947 checkIPv6 returned true although the IP was too long #16220 using the wrong variable in _bin2Ip
1.1.0b1
1.1.0b1
beta
beta
BSD
Because this release adds a new method and some bug tickets are still open, the package release is named as Beta, instead of releasing a 5th RC version.

#14728 add parseAddress(), thanks to Nicholas Williams! #14767 most CS issues should be solved
1.1.0RC3
1.1.0RC3
beta
beta
BSD
Fix Bug #12442, thanks to pear at erikdebruijn dot nl + add getNetmaskSpec()
1.1.0RC4
1.1.0RC4
beta
beta
BSD
take care of prefix length specification in an address, thanks to Jens Ott
1.0
1.0
stable
stable
2004-03-02
BSD
First official release
1.0.1
1.0.1
stable
stable
2004-11-24
BSD
rewrite compress()/uncompress fixes this bugs: Bug #2803 compress() adds colon Bug #2802 compress() doesn't compress correctly Thanks to cmoehrke at netviser dot de
1.0.2
1.0.2
stable
stable
2005-02-13
BSD
Bug #3404: checkIPv6() is case sensitive Bug #3405: compress() does not compress '0000' Thanks to elfrink at introweb dot nl
1.0.3
1.0.3
stable
stable
2005-03-19
BSD
Bug #3851: IPv4-mapped/compatible IPv6 uncompress bug Thanks to dtaylor at jasi dot com
1.0.4
1.0.4
stable
stable
2005-08-03
BSD
Bug #4977: trying to compress where nothing is to compress Thanks to pvenegas at gmail dot com
1.0.5
1.0.5
stable
stable
2005-09-01
BSD
Bug #3405 again: problem with compressing Thanks to elfrink at introweb dot nl
1.1.0RC1
1.1.0RC1
beta
beta
2005-11-24
BSD
This new minor version adds some methods proposed by Josh Peck (jmp @ joshpeck dot org). + Change license to BSD + Improved comments and docblocks + add removeNetmaskSpec() + add getNetmask() + add isInNetmask() + add getAddressType() + add _ip2Bin() + add _bin2Ip() + add serveral constants for address types
1.1.0RC2
1.1.0RC2
beta
beta
2006-02-09
BSD
- fixed a notice, when removeNetmaskSpec is used on an IP without a netmask
1.1.0b2
1.1.0b1
beta
beta
2010-02-12
BSD
Fixed: #14747 Compressing an already compressed IP returns the IP "as is" now #15947 checkIPv6 returned true although the IP was too long #16220 using the wrong variable in _bin2Ip