Bug #12463: set_attribute($attName, "0") does not add attributes

From: Date: Mon, 30 Jul 2001 08:23:27 +0000
Subject: Bug #12463: set_attribute($attName, "0") does not add attributes
Groups: php.dev 
Request: Send a blank email to php-dev+get-61508@lists.php.net to get a copy of this message
From: jw@shapers.nl Operating system: Win2K PHP version: 4.0.6 PHP Bug Type: DOM XML related Bug description: set_attribute($attName, "0") does not add attributes When I try to add an attribute with value "0" to a DomNode, like this: $cNode->set_attribute("attributeName", "0"); The attribute isn't added, and worse, any attributes added to this node later won't be added aswell. I'll see if I can add a short reproducing script later. JW -- Edit bug report at: http://bugs.php.net/?id=12463&edit=1

« previous php.dev (#61508) next »