[DOC-CVS] [doc-en] master: debug_backtrace(): Add omission hints to return values

[email protected] (Sebastian Hädrich via GitHub) Thu, 7 May 2026 14:14:41 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Sebastian Hädrich (shaedrich)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-05-07T16:14:37+02:00

Commit: https://github.com/php/doc-en/commit/a8dfc2c067cbaadab174f0470e3d0dd0bc811d73
Raw diff: https://github.com/php/doc-en/commit/a8dfc2c067cbaadab174f0470e3d0dd0bc811d73.diff

debug_backtrace(): Add omission hints to return values

* Add omission hints to return values

Co-authored-by: Jordi Kroon <[email protected]>

Changed paths:
  M  reference/errorfunc/functions/debug-backtrace.xml


Diff:

diff --git a/reference/errorfunc/functions/debug-backtrace.xml b/reference/errorfunc/functions/debug-backtrace.xml
index ebe95a32841d..df93a4b09956 100644
--- a/reference/errorfunc/functions/debug-backtrace.xml
+++ b/reference/errorfunc/functions/debug-backtrace.xml
@@ -162,7 +162,7 @@
        <entry>object</entry>
        <entry><type>object</type></entry>
        <entry>
-        The current <link linkend="language.oop5">object</link>.
+        The current <link linkend="language.oop5">object</link> if <constant>DEBUG_BACKTRACE_PROVIDE_OBJECT</constant> is given.
        </entry>
       </row>
       <row>
@@ -178,7 +178,7 @@
        <entry><type>array</type></entry>
        <entry>
         If inside a function, this lists the functions arguments. If
-        inside an included file, this lists the included file name(s).
+        inside an included file, this lists the included file name(s). Unless <constant>DEBUG_BACKTRACE_IGNORE_ARGS</constant> is given.
        </entry>
       </row>
      </tbody>