ID: 36651 Updated by: [EMAIL PROTECTED] Reported By: shadda at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Non Applicable PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-03-08 00:48:57] shadda at gmail dot com Description: ------------ The examples found at http://us2.php.net/manual/en/function.xsl-xsltprocessor-construct.php, show the use of DOMDocument::load() function called statically. However, this violates STRICT standards, as you ca n see... [EMAIL PROTECTED]:/home/shadda# php -r 'DOMDocument::load("test.xml");' PHP Strict Standards: Non-static method DOMDocument::load() should not be called statically in Command line code on line 1 The correct method would be to instantiate a DOMDocument object, and use the public load() method. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36651&edit=1