#40362 [Bgs->Asn]: DOM XML methods no longer CamelCased
| From: | bjori@php.net | Date: | Mon, 05 Feb 2007 10:28:08 +0000 |
| Subject: | #40362 [Bgs->Asn]: DOM XML methods no longer CamelCased | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969375284@lists.php.net to get a copy of this message | ||
ID: 40362
Updated by: bjori@php.net
Reported By: mgibson at designlinks dot net
-Status: Bogus
+Status: Assigned
Bug Type: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
-Assigned To:
+Assigned To: sean
New Comment:
DOMXML is the PHP4 extension.
DOM is the PHP5 extension.
In DOMXML the format is DomDocument->create_element()
In DOM the format is DOMDocument->createElement()
Meaning, you are looking at the wrong manual page :)
Sean: Neither DOMXML nor DOM have acceptable version info,
please check it out :)
Previous Comments:
------------------------------------------------------------------------
[2007-02-05 10:26:57] mgibson at designlinks dot net
Sorry, I'm a complete idiot, I should have been looking at
the DOM pages, not DOM XML!
There is nothing to see here, move along please.
I really should wait until after lunch on a Monday morning
before trying to think!
------------------------------------------------------------------------
[2007-02-05 10:19:56] mgibson at designlinks dot net
Description:
------------
Hello.
Since the PHP manual overhaul I've noticed that
the names for DOM XML methods appear as
underscored_names, rather than CamelCase.
eg:
DOMDocument->create_element()
should be:
DOMDocument->createElement()!
Hope this helps.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40362&edit=1