Bug #16871 Updated: dump_node param error

From: Date: Wed, 15 May 2002 12:54:03 +0000
Subject: Bug #16871 Updated: dump_node param error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7749@lists.php.net to get a copy of this message
ID: 16871 Updated by: chregu@php.net Reported By: dan@mojavelinux.com -Status: Open +Status: Closed Bug Type: DOM XML related Operating System: Linux PHP Version: 4.0CVS-2002-04-27 New Comment: The class instance should be a DomDocument, not a DomNode. i don't know really at the moment why your code works as well ... I would advise to use the DomDocument not the DomNode as the code can change in the future. Previous Comments: ------------------------------------------------------------------------ [2002-04-27 06:39:33] dan@mojavelinux.com As of 2002-04-27 this function is requiring the first parameter to be the node when used as DomNode->dump_node(DomNode) this is an error in the convention that if a Dom object is used as the class instance, the first parameter should be passed as the first parameter to the function. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16871&edit=1

« previous php.bugs (#7749) next »