Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8998 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4232 invoked by uid 1010); 8 Apr 2004 11:30:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4172 invoked from network); 8 Apr 2004 11:30:51 -0000 Received: from unknown (HELO hanna.linnea.net) (193.45.225.41) by pb1.pair.com with SMTP; 8 Apr 2004 11:30:51 -0000 Received: (qmail 6334 invoked from network); 8 Apr 2004 11:30:49 -0000 Received: from novell.stoldgods.nu (HELO novell.netiic.com) (193.45.238.241) by ns2.kiruna.se with SMTP; 8 Apr 2004 11:30:49 -0000 To: internals@lists.php.net Date: Thu, 8 Apr 2004 13:31:02 +0200 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-ID: <200404081331.03335.magnus@php.net> Subject: debug_backtrace does not behave as documented From: magnus@php.net (Magnus =?iso-8859-15?q?M=E4=E4tt=E4?=) Hello debug_backtrace() used to print out arguments to functions, but does not anymore. Is this desired behavior ? Output: array(1) { [0]=> array(3) { ["file"]=> string(36) "/home/magnus/Projects/base/test4.php" ["line"]=> int(8) ["function"]=> string(3) "foo" } } The output from the example in the manual: Hi: friend array(2) { [0]=> array(4) { ["file"] => string(10) "/tmp/a.php" ["line"] => int(10) ["function"] => string(6) "a_test" ["args"]=> array(1) { [0] => &string(6) "friend" } } [1]=> array(4) { ["file"] => string(10) "/tmp/b.php" ["line"] => int(2) ["args"] => array(1) { [0] => string(10) "/tmp/a.php" } ["function"] => string(12) "include_once" } } Was this changed for a reason ? /Magnus -- Feeling amorous, she looked under the sheets and cried, "Oh, no, it's Microsoft!"