From d6a44ea4447a6ba10eef6a351f652fcdf5b146cc Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Thu, 17 Mar 2011 19:12:39 +0000 Subject: [PATCH] document new debug_backtrace options git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309355 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../errorfunc/functions/debug-backtrace.xml | 35 +++++++++++++++++-- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/reference/errorfunc/functions/debug-backtrace.xml b/reference/errorfunc/functions/debug-backtrace.xml index ad2e3b6f87..5c7e30ea37 100644 --- a/reference/errorfunc/functions/debug-backtrace.xml +++ b/reference/errorfunc/functions/debug-backtrace.xml @@ -10,7 +10,7 @@ &reftitle.description; arraydebug_backtrace - boolprovide_objecttrue + intoptionsDEBUG_BACKTRACE_PROVIDE_OBJECT debug_backtrace generates a PHP backtrace. @@ -22,10 +22,32 @@ - provide_object + options - Whether or not to populate the "object" index. + Since 5.3.6, this parameter is a bitmask for the following options: + + <function>debug_backtrace</function> options + + + + DEBUG_BACKTRACE_PROVIDE_OBJECT + + Whether or not to populate the "object" index. + + + + DEBUG_BACKTRACE_IGNORE_ARGS + + Whether or not to omit the "args" index and thus all the method arguments to + to save memory. + + + + +
+ Before 5.3.6, only value recognized is &true; or &false;, which is the same as + setting and unsetting DEBUG_BACKTRACE_PROVIDE_OBJECT option.
@@ -124,6 +146,13 @@ + + 5.3.6 + + The parameter provide_object changed to options and additional option + DEBUG_BACKTRACE_IGNORE_ARGS is added. + + 5.2.5