From: ("")
Date:  28 Oct 2016 20:52:32 Hong Kong Time

[PEAR-BUG] Bug #21139 [Com]: compress zero address returns blank

NNTP-Posting-Host:  null

Edit report at

 ID:               21139
 Comment by:
 Reported By:      phil dot davis at inf dot org
 Summary:          compress zero address returns blank
 Status:           Open
 Type:             Bug
 Package:          Net_IPv6
 Package Version:  1.3.0b2
 PHP Version:      Irrelevant
 Roadmap Versions: 
 New Comment:

Proposed patch with test case at:

Previous Comments:

[2016-10-27 08:09:24] phildavis

Proposed patch is at GitHub commit:
and at:

Test script:
$x = Net_IPv6::compress("0:0:0:0:0:0:0:0");

Expected result:
$x is "::"

Actual result:
$x is ""


Edit this bug report at