|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-04-13 13:27 UTC] sniper@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ The debug_backtrace() call doesn't show what arguments where passed to a function in PHP 5.0b4 bug does with PHP 4.3.4 using the same source file. Reproduce code: --------------- <? function test($a, $b) { print_r(debug_backtrace()); echo "$a, $b\n"; } test("Hello", "World"); ?> Expected result: ---------------- PHP 4.3.4 (cli) (built: Jan 5 2004 17:27:17) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies Array ( [0] => Array ( [file] => /root/scratch/xml/foo.php [line] => 9 [function] => test [args] => Array ( [0] => Hello [1] => World ) ) ) Hello, World Actual result: -------------- PHP 5.0.0b4 (cli) (built: Feb 22 2004 21:45:34) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0-dev, Copyright (c) 1998-2004 Zend Technologies Array ( [0] => Array ( [file] => /root/scratch/xml/foo.php [line] => 9 [function] => test ) ) Hello, World