ID: 40362 Updated by: [EMAIL PROTECTED] 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