Test: /Zend/tests/bug30828.phpt - Version 7.2.34        

Bug #30828 debug_backtrace() reports incorrect class in overridden methods
Submitted: 2004-11-18 16:32:47 Modified: 2005-06-23 11:25:09
From: lists Assigned: dmitry
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2005-06-19 OS: *

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ #0 A->-oneagentphp__constructA()
002+ #1 -oneagentphp_call_func(Array ([0] => B Object (),[1] => -oneagentphp__constructA)) called at %s/bug30828.php:3]
003+ #2 A->__construct() called at %s/bug30828.php:30]
004+ #3 B->-oneagentphp__constructB()
005+ #4 -oneagentphp_call_func(Array ([0] => B Object (),[1] => -oneagentphp__constructB)) called at %s/bug30828.php:29]
006+ #5 B->__construct() called at %s/bug30828.php:42]
007+ A->-oneagentphp__constructA
008+
009+ Notice: Undefined index: class in %s/bug30828.php on line 7
010+
011+ Notice: Undefined index: type in %s/bug30828.php on line 7
012+ -oneagentphp_call_func
001- #0 A->__construct() called at [%sbug30828.php:30]
002- #1 B->__construct() called at [%sbug30828.php:42]
005- #0 A->foo() called at [%sbug30828.php:34]
006- #1 B->foo() called at [%sbug30828.php:43]
009- #0 A::bar() called at [%sbug30828.php:38]
010- #1 B::bar() called at [%sbug30828.php:44]
014+ B->-oneagentphp__constructB
015+
016+ Notice: Undefined index: class in %s/bug30828.php on line 7
017+
018+ Notice: Undefined index: type in %s/bug30828.php on line 7
019+ -oneagentphp_call_func
021+ #0 A->-oneagentphpfooA()
022+ #1 -oneagentphp_call_func(Array ([0] => B Object (),[1] => -oneagentphpfooA)) called at %s/bug30828.php:11]
023+ #2 A->foo() called at %s/bug30828.php:34]
024+ #3 B->-oneagentphpfooB()
025+ #4 -oneagentphp_call_func(Array ([0] => B Object (),[1] => -oneagentphpfooB)) called at %s/bug30828.php:33]
026+ #5 B->foo() called at %s/bug30828.php:43]
027+ A->-oneagentphpfooA
028+
029+ Notice: Undefined index: class in %s/bug30828.php on line 15
030+
031+ Notice: Undefined index: type in %s/bug30828.php on line 15
032+ -oneagentphp_call_func
034+ B->-oneagentphpfooB
035+
036+ Notice: Undefined index: class in %s/bug30828.php on line 15
037+
038+ Notice: Undefined index: type in %s/bug30828.php on line 15
039+ -oneagentphp_call_func
041+ #0 A::-{oneagentphp_closure}()
042+ #1 -oneagentphp_call_func(Closure Object ()) called at %s/bug30828.php:20]
043+ #2 A::bar() called at %s/bug30828.php:38]
044+ #3 B::-{oneagentphp_closure}()
045+ #4 -oneagentphp_call_func(Closure Object ()) called at %s/bug30828.php:38]
046+ #5 B::bar() called at %s/bug30828.php:44]
047+ A::-{oneagentphp_closure}
048+
049+ Notice: Undefined index: class in %s/bug30828.php on line 23
050+
051+ Notice: Undefined index: type in %s/bug30828.php on line 23
052+ -oneagentphp_call_func
054+ B::-{oneagentphp_closure}
055+
056+ Notice: Undefined index: class in %s/bug30828.php on line 23
057+
058+ Notice: Undefined index: type in %s/bug30828.php on line 23
059+ -oneagentphp_call_func