ID:               36897
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
-Bug Type:         Documentation problem
+Bug Type:         Scripting Engine problem
 Operating System: Irrelevant
-PHP Version:      Irrelevant
+PHP Version:      5.x, 6.x
 New Comment:

This is in fact not documentation problem - returning empty array is
pointless and should be fixed.
I'll fix the function in a minute.


Previous Comments:
------------------------------------------------------------------------

[2006-03-28 20:22:34] [EMAIL PROTECTED]

Description:
------------
debug_print_backtrace()'s manual page mentions that this function
returns void.

In fact, it seems to return an empty array (tested under 5.1.2 and
5.1.1-gentoo)

I'm not sure what needs to be changed:

The function definition in the php source or the documentation. If its
the latter one, then here is the patch:

http://patches.colder.ch/debug-print-backtrace.patch

Thanks in advance.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36897&edit=1

Reply via email to