Doc #62766 [NEW]: Non-static method DOMDocument::loadXML() should not be called statically
| From: | apathetic012 at gmail dot com | Date: | Tue, 07 Aug 2012 07:32:33 +0000 |
| Subject: | Doc #62766 [NEW]: Non-static method DOMDocument::loadXML() should not be called statically | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-8707@lists.php.net to get a copy of this message | ||
From: apathetic012 at gmail dot com
Operating system: Debian
PHP version: 5.4Git-2012-08-07 (snap)
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Non-static method DOMDocument::loadXML() should not be called statically
Description:
------------
---
From manual page: http://www.php.net/domdocument.loadxml#refsect1-
domdocument.loadxml-examples
---
Non-static method DOMDocument::loadXML() should not be called statically
Test script:
---------------
$doc = DOMDocument::loadXML($uploaded);
--
Edit bug report at https://bugs.php.net/bug.php?id=62766&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62766&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62766&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62766&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62766&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62766&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62766&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62766&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62766&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62766&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62766&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62766&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62766&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62766&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62766&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62766&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62766&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62766&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62766&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62766&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62766&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62766&r=mysqlcfg