note 74004 added to function.simplexml-element-addAttribute

From: Date: Tue, 20 Mar 2007 16:49:06 +0000
Subject: note 74004 added to function.simplexml-element-addAttribute
Groups: php.notes 
Request: Send a blank email to php-notes+get-124630@lists.php.net to get a copy of this message
It may be helpful to note that the addAttribute method checks the length of the fields to determine whether or not they are empty. In otherwords if you are trying to addElement("patent_holder", "") this will fail as the strlen is 0. ---- Server IP: 216.194.113.175 Probable Submitter: 12.167.132.230 ---- Manual Page -- http://www.php.net/manual/en/function.simplexml-element-addAttribute.php Edit -- https://master.php.net/note/edit/74004 Del: integrated -- https://master.php.net/note/delete/74004/integrated Del: useless -- https://master.php.net/note/delete/74004/useless Del: bad code -- https://master.php.net/note/delete/74004/bad+code Del: spam -- https://master.php.net/note/delete/74004/spam Del: non-english -- https://master.php.net/note/delete/74004/non-english Del: in docs -- https://master.php.net/note/delete/74004/in+docs Del: other reasons-- https://master.php.net/note/delete/74004 Reject -- https://master.php.net/note/reject/74004 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124630) next »