svn: /phpdoc/en/trunk/reference/errorfunc/functions/ debug-backtrace.xml

From: Date: Thu, 17 Mar 2011 19:12:39 +0000
Subject: svn: /phpdoc/en/trunk/reference/errorfunc/functions/ debug-backtrace.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7865@lists.php.net to get a copy of this message
stas Thu, 17 Mar 2011 19:12:39 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309355 Log: document new debug_backtrace options Changed paths: U phpdoc/en/trunk/reference/errorfunc/functions/debug-backtrace.xml Modified: phpdoc/en/trunk/reference/errorfunc/functions/debug-backtrace.xml =================================================================== --- phpdoc/en/trunk/reference/errorfunc/functions/debug-backtrace.xml 2011-03-17 18:52:04 UTC (rev 309354) +++ phpdoc/en/trunk/reference/errorfunc/functions/debug-backtrace.xml 2011-03-17 19:12:39 UTC (rev 309355) @@ -10,7 +10,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>debug_backtrace</methodname> - <methodparam choice="opt"><type>bool</type><parameter>provide_object</parameter><initializer>true</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>DEBUG_BACKTRACE_PROVIDE_OBJECT</initializer></methodparam> </methodsynopsis> <para> <function>debug_backtrace</function> generates a PHP backtrace. @@ -22,10 +22,32 @@ <para> <variablelist> <varlistentry> - <term><parameter>provide_object</parameter></term> + <term><parameter>options</parameter></term> <listitem> <para> - Whether or not to populate the "object" index. + Since 5.3.6, this parameter is a bitmask for the following options: + <table> + <title><function>debug_backtrace</function> options</title> + <tgroup cols="2"> + <tbody> + <row> + <entry>DEBUG_BACKTRACE_PROVIDE_OBJECT</entry> + <entry> + Whether or not to populate the "object" index. + </entry> + </row> + <row> + <entry>DEBUG_BACKTRACE_IGNORE_ARGS</entry> + <entry> + Whether or not to omit the "args" index and thus all the method arguments to + to save memory. + </entry> + </row> + </tbody> + </tgroup> + </table> + Before 5.3.6, only value recognized is &true; or &false;, which is the same as + setting and unsetting <constant>DEBUG_BACKTRACE_PROVIDE_OBJECT</constant> option. </para> </listitem> </varlistentry> @@ -125,6 +147,13 @@ </thead> <tbody> <row> + <entry>5.3.6</entry> + <entry> + The parameter <parameter>provide_object</parameter> changed to <parameter>options</parameter> and additional option + <constant>DEBUG_BACKTRACE_IGNORE_ARGS</constant> is added. + </entry> + </row> + <row> <entry>5.2.5</entry> <entry> Added the optional parameter <parameter>provide_object</parameter>.

« previous php.doc.cvs (#7865) next »