note 62647 deleted from function.dom-domdocument-loadxml by nlopess

From: Date: Tue, 26 Jun 2007 21:16:06 +0000
Subject: note 62647 deleted from function.dom-domdocument-loadxml by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-128001@lists.php.net to get a copy of this message
Note Submitter: georg at howen dot de ---- Just in case you try to do the same as I did and thought you found a bug: loadXML() is not a true static function. It is just allowed to be called statically. When called statically within a method of an instantiated DOMDocument object it acts as if the method had been called directly from the object itself rather than statically. This means that if you call DOMDocument::loadXML() from within an instantiated DOMDocument object, it will not return a new DOMDocument but true/false. Georg

« previous php.notes (#128001) next »