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

Bug #4570 Encoding an array with empty or null value is broken
Submitted: 2005-06-11 00:28 UTC
From: nagash Assigned: tacker
Status: Closed Package: File_Bittorrent
PHP Version: Irrelevant OS: Gentoo Linux
Roadmaps: (Not assigned)    

 [2005-06-11 00:28 UTC] nagash
Description: ------------ Basically, it encodes 'empty' things like '', null, array() wrongly, and hence, they usually screw up the decoding. See Expected result: ---------------- Return the decoded array properly, and with empty values being empty. Actual result: -------------- In the worst cases I've had, it just hung. Other times decoding will display an empty Array(). And sometimes it will even mess up the order. Like move values from one key to another heh. It's kinda whack.


 [2005-06-11 07:54 UTC] tacker
Thanks for reporting. It will be fixed in a couple of days.
 [2005-06-16 06:01 UTC] nagash
Any progress?
 [2005-06-20 11:17 UTC] tacker
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 In case this was a 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.
 [2005-06-21 07:39 UTC] tacker
I fixed also the second part of your bug report (Array with empty array value). It's in 0.1.8.