note 75837 added to function.dom-domdocument-loadxml

From: Date: Mon, 18 Jun 2007 14:08:43 +0000
Subject: note 75837 added to function.dom-domdocument-loadxml
Groups: php.notes 
Request: Send a blank email to php-notes+get-127533@lists.php.net to get a copy of this message
The documentation states that loadXML can be called statically, but this is misleading. This feature seems to be a special case hack and its use seems to be discouraged according to http://bugs.php.net/bug.php?id=41398. Calling the method statically will fail with an error if the code runs with E_STRICT error reporting enabled. The documentation should be changed to make it clear that a static call is against recommended practice and won't work with E_STRICT. ---- Server IP: 194.153.94.10 Probable Submitter: 83.76.139.135 ---- Manual Page -- http://www.php.net/manual/en/function.dom-domdocument-loadxml.php Edit -- https://master.php.net/note/edit/75837 Del: integrated -- https://master.php.net/note/delete/75837/integrated Del: useless -- https://master.php.net/note/delete/75837/useless Del: bad code -- https://master.php.net/note/delete/75837/bad+code Del: spam -- https://master.php.net/note/delete/75837/spam Del: non-english -- https://master.php.net/note/delete/75837/non-english Del: in docs -- https://master.php.net/note/delete/75837/in+docs Del: other reasons-- https://master.php.net/note/delete/75837 Reject -- https://master.php.net/note/reject/75837 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127533) next »