[doc-en] master: debug_print_backtrace(): document DEBUG_BACKTRACE_PROVIDE_OBJECT option (#5217)
| From: | Louis-Arnaud via GitHub | Date: | Fri, 21 Aug 2026 14:22:25 +0000 |
| Subject: | [doc-en] master: debug_print_backtrace(): document DEBUG_BACKTRACE_PROVIDE_OBJECT option (#5217) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23605@lists.php.net to get a copy of this message | ||
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>