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

Bug #23 Array To String conversion
Submitted: 2003-09-18 12:41 UTC
From: francois at flash-france dot com Assigned: schst
Status: Closed Package: XML_Util
PHP Version: 4.3.2 OS: redhat linux 7.2
Roadmaps: (Not assigned)    

 [2003-09-18 12:41 UTC] francois at flash-france dot com
Description: ------------ it's not really a strong bug but a Notice that appears when use with E_ALL error reporting : Notice: Array to string conversion in /usr/local/lib/php/XML/Util.php on line 314 if (!isset($tag["content"]) || (string)$tag["content"] == '') i propose this fix to avoid this notice (line 314) : if (!isset($tag["content"]) || (is_string($tag["content"]) && (string)$tag["content"] == ''))


 [2003-09-21 07:28 UTC] schst
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at In case this was a documentation problem, the fix will show up soon at In case this was a website problem, the change will show up on the site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better.