List Info

Thread: note 62647 added to function.dom-domdocument-loadxml




note 62647 added to function.dom-domdocument-loadxml
user name
2006-03-06 12:04:37
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
----
Server IP: 66.163.161.117
Probable Submitter: 84.151.38.248
----
X-Spam-Status: No, hits=3.1 required=5.0
tests=DATE_MISSING,FROM_NO_LOWER 
	autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.dom-domdo
cument-loadxml.php
Edit        -- http://master.p
hp.net/note/edit/62647
Del: integrated  -- ht
tp://master.php.net/note/delete/62647/integrated
Del: useless     -- http:
//master.php.net/note/delete/62647/useless
Del: bad code    -- http
://master.php.net/note/delete/62647/bad+code
Del: spam        -- http://m
aster.php.net/note/delete/62647/spam
Del: non-english -- h
ttp://master.php.net/note/delete/62647/non-english
Del: in docs     -- http:
//master.php.net/note/delete/62647/in+docs
Del: other reasons-- http://master
.php.net/note/delete/62647
Reject      -- http://master
.php.net/note/reject/62647
Search      -- http://ma
ster.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

note 62647 deleted from function.dom-domdocument-loadxml by nlopess
user name
2007-06-26 16:16:06
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

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )