Home » XML » XML_Util » Bug #23
Array To String conversion
Details
| Submitted | 2003-09-18 17: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) |
Comments
[2003-09-18 17: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"] == ''))