note 74004 modified in function.simplexml-element-addAttribute by danbrown

From: Date: Wed, 16 Sep 2009 15:48:34 +0000
Subject: note 74004 modified in function.simplexml-element-addAttribute by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160668@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. --was-- 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. http://php.net/manual/en/function.simplexml-element-addAttribute.php

« previous php.notes (#160668) next »