[ANNOUNCEMENT] Net_CheckIP2-1.0.0RC3 (beta) Released.
| From: | PEAR Announce | Date: | Wed, 30 Sep 2009 15:48:38 +0000 |
| Subject: | [ANNOUNCEMENT] Net_CheckIP2-1.0.0RC3 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30085@lists.php.net to get a copy of this message | ||
The new PEAR package Net_CheckIP2-1.0.0RC3 (beta) has been released at http://pear.php.net/.
Release notes
-------------
This release introduces a last-minute BC break:
To update your code, please replace the following:
Net_CheckIP2::check_ip($ip);
... with:
Net_CheckIP2::isValid($ip);
Changelog:
* introduced getClass() - determine the CLASS network (A, B, C supported)
* introduced isValid() - replaces check_ip()
* introduced isReserved() - determine if the IP is from within a reserved space
* introduced isZeroconf() - determine if the IP is from the zeroconf pool
* added AllTests and new test suite
Package Info
------------
Net_CheckIP2 allows you to validate an IPv4 address.
Additionally, using isReserved(), you may check if an IP is from a reserved/private
IP space (according to RFC 1918). Using getClass(), you may retrieve the IP's class
network (A, B, C currently supported).
Net_CheckIP2 is a PHP5 port of the Net_CheckIP package and is almost a drop-in replacement.
Related Links
-------------
Package home: http://pear.php.net/package/Net_CheckIP2
Changelog: http://pear.php.net/package/Net_CheckIP2/download/1.0.0RC3
Download: http://download.pear.php.net/package/Net_CheckIP2-1.0.0RC3.tgz
Authors
-------
Martin Jansen <mj@php.net> (lead)
Till Klampaeckel (lead)