#26985 [Opn->Csd]: debug_backtrace() "type" documented incorrectly

From: Date: Wed, 21 Jan 2004 03:43:12 +0000
Subject: #26985 [Opn->Csd]: debug_backtrace() "type" documented incorrectly
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358327@lists.php.net to get a copy of this message
ID: 26985 Updated by: derek@php.net Reported By: adam at trachtenberg dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: * 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: ------------------------------------------------------------------------ [2004-01-20 17:20:37] adam at trachtenberg dot com Description: ------------ The documentation for debug_backtrace() says it will return an array containing a "type" element. This element is documented as being the "current class type." That is incorrect. It is really the current *CALL* type. These values are "->" for a method call, "::" for a static method call, or nothing for a function call. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26985&edit=1

« previous php.doc (#969358327) next »