- Added minimal docs for print_debug_backtrace() and did some structure work.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@131867 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2003-06-16 12:33:50 +00:00
parent 03c9e73f7a
commit f0a8a47c4d
2 changed files with 55 additions and 7 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.debug-backtrace">
<refnamediv>
<refname>debug_backtrace</refname>
@ -108,9 +108,13 @@ a_test('friend');
<?php
include_once '/tmp/a.php';
?>
/* Results when executing /tmp/b.php
]]>
</programlisting>
<para>
Results when executing /tmp/b.php:
</para>
<screen>
<![CDATA[
Hi: friend
array(2) {
[0]=>
@ -134,13 +138,13 @@ array(2) {
["function"] => string(12) "include_once"
}
}
*/
]]>
</programlisting>
</screen>
</example>
</para>
<para>
See also <function>trigger_error</function>.
See also <function>trigger_error</function> and
<function>print_debug_backtrace</function>.
</para>
</refsect1>
</refentry>

View file

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.print-debug-backtrace">
<refnamediv>
<refname>print_debug_backtrace</refname>
<refpurpose>
Prints a backtrace
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>print_debug_backtrace</methodname>
<void/>
</methodsynopsis>
<para>
<function>print_debug_backtrace</function> prints a PHP backtrace.
</para>
<para>
See also <function>debug_backtrace</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->