[DOC-CVS] [doc-en] master: debug_print_backtrace(): document DEBUG_BACKTRACE_PROVIDE_OBJECT option (#5217)
[email protected] (Louis-Arnaud via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-08-21T16:22:22+02:00
Commit: https://github.com/php/doc-en/commit/41911b489877ce67e1a9c47b43b1cc37aa21b6e2
Raw diff: https://github.com/php/doc-en/commit/41911b489877ce67e1a9c47b43b1cc37aa21b6e2.diff
debug_print_backtrace(): document DEBUG_BACKTRACE_PROVIDE_OBJECT option (#5217)
Changed paths:
M reference/errorfunc/functions/debug-print-backtrace.xml
Diff:
diff --git a/reference/errorfunc/functions/debug-print-backtrace.xml b/reference/errorfunc/functions/debug-print-backtrace.xml
index 8f70512f4e42..39ad704832de 100644
--- a/reference/errorfunc/functions/debug-print-backtrace.xml
+++ b/reference/errorfunc/functions/debug-print-backtrace.xml
@@ -42,6 +42,14 @@
to save memory.
</entry>
</row>
+ <row>
+ <entry>DEBUG_BACKTRACE_PROVIDE_OBJECT</entry>
+ <entry>
+ Accepted for compatibility with <function>debug_backtrace</function>,
+ but has no effect: the generated backtrace is rendered as a string
+ and the "object" entry is never printed.
+ </entry>
+ </row>
</tbody>
</tgroup>
</table>