Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001154 [Quercus] minor always 05-26-06 19:32 09-05-08 14:07
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.20
Summary 0001154: debug_backtrace() doesn't include function arguments
Description PHP:

<?php
function testfunc($x) {
        var_dump(debug_backtrace());
}

testfunc("test");
?>

Zend PHP outputs the following (reformatted for easier reading):

array(1) {
  [0]=> array(4) {
    ["file"]=> string(59) "/Users/sgrimm/resin/resin/webapps/test/test.php"
    ["line"]=> int(6)
    ["function"]=> string(8) "testfunc"
    ["args"]=> array(1) {
      [0]=> &string(4) "test"
    }
  }
}

Quercus outputs the same thing but the "args" array is empty.

array(1) {
  [0]=> array(4) {
    ["file"]=> string(47) "/Users/sgrimm/resin/resin/webapps/test/test.php"
    ["line"]=> int(6)
    ["function"]=> string(8) "testfunc"
    ["args"]=> array(0) {
    }
  }
}
Additional Information 060526 snapshot
Attached Files

- Relationships

- Notes
(0002437)
mo
11-02-07 17:15

Updated/Added:

php/180i.qa
php/180j.qa
php/180k.qa
php/180l.qa
php/180m.qa
php/180n.qa
php/180o.qa
php/180p.qa

Fixed up output to match PHP in most cases. The interpreted
version of quercus will now report argument values. The
compiled version does not report variable values from a
compiled call frame.
 
(0002485)
nam
11-13-07 15:52

change reverted to get mediawiki running, args are again not reported in debug_backtrace()

php/180q
 
(0003395)
ferg
09-05-08 14:07

php/180t
 

- Issue History
Date Modified Username Field Change
05-26-06 19:32 koreth New Issue
11-02-07 17:15 mo Note Added: 0002437
11-13-07 15:52 nam Note Added: 0002485
09-05-08 14:07 ferg Note Added: 0003395
09-05-08 14:07 ferg Assigned To  => ferg
09-05-08 14:07 ferg Status new => closed
09-05-08 14:07 ferg Resolution open => fixed
09-05-08 14:07 ferg Fixed in Version  => 3.2.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker