PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » XML » XML_Serializer » Bug #1478

Array to string conversion at line 496

Details

Submitted2004-05-24 11:42 UTC
Fromdaz at forumimages dot com
Assignedschst
StatusClosed
PackageXML_Serializer
PHP Version4.3.6
OSWindoze
Roadmaps(Not assigned)

Comments

[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'] == '' ) {