Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.0b4

Bug #2803 compress() adds colon
Submitted: 2004-11-21 23:18 UTC
From: cmoehrke at netviser dot de Assigned: alexmerz
Status: Closed Package: Net_IPv6
PHP Version: 5.0.2 OS: Suse Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 35 - 17 = ?

 
 [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

Comments

 [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