PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_IPv6 » Bug #2803

compress() adds colon

Details

Submitted2004-11-21 23:18 UTC
Fromcmoehrke at netviser dot de
Assignedalexmerz
StatusClosed
PackageNet_IPv6
PHP Version5.0.2
OSSuse Linux
Roadmaps(Not assigned)

Comments

[2004-11-21 23:18 UTC] cmoehrke at netviser dot de

Description:
------------
compress() adds a colon after the compressed address

Reproduce code:
---------------
require("Net/IPv6.php");
echo Net_IPv6::compress("0:0:0:0588:0:FAEF:1428:57AB");

Expected result:
----------------
::0588:0:FAEF:1428:57AB

Actual result:
--------------
::0588:0:FAEF:1428:57AB:
// Note the tailing colon

[2004-11-23 22:36 UTC] alexmerz at php dot net

Will fix this week

[2004-11-24 23:25 UTC] alexmerz at php dot net

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.

Release will follow