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

Bug #1478 Array to string conversion at line 496
Submitted: 2004-05-24 11:42 UTC
From: daz at forumimages dot com Assigned: schst
Status: Closed Package: XML_Serializer
PHP Version: 4.3.6 OS: Windoze
Roadmaps: (Not assigned)    

 [2004-05-24 11:42 UTC] daz at forumimages dot com
Description: ------------ Version 0.92 (and maybe before), but possible suggestion below - excuse my ignorance :) Reproduce code: --------------- // Original - Line 496; if ((string)$tag["content"] == '') { // Suggestion if (is_string($tag['content']) && $tag['content'] == '' ) {


 [2004-05-24 19:23 UTC] schst
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.
 [2004-05-24 19:50 UTC] schst
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at