Mantis - Quercus
Viewing Issue Advanced Details
3826 minor always 12-23-09 10:26 08-07-12 14:51
alex  
 
normal  
new 4.0.2  
open  
none    
none  
0003826: quercus standalone: debug_backtrace() returns an empty array
-tomcat 5.5
-java 6

Notes
(0006000)
Thanos1999   
08-05-12 22:13   
Also see it returning empty array. Would be nice to see a fix.
(0006004)
nam   
08-07-12 14:51   
Issue doesn't exist for 4.0.29+. I'm not sure about older versions.


Input
---------------------------------------------------------------

<?php

function foo()
{
  var_dump(debug_backtrace());
}

foo();

?>


Output
---------------------------------------------------------------
array(1) {
  [0]=>
  array(4) {
    ["file"]=>
    string(67) "/Users/nnguyen/Downloads/apache-tomcat-6.0.29/webapps/ROOT/test.php"
    ["line"]=>
    int(9)
    ["function"]=>
    string(3) "foo"
    ["args"]=>
    array(0) {
    }
  }
}