Annotation of embedaddon/php/Zend/tests/bug64239_4.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #64239 (debug_print_backtrace() changed behavior)
        !             3: --FILE--
        !             4: <?php
        !             5: class A {
        !             6:        use T2 { t2method as Bmethod; }
        !             7: }
        !             8: 
        !             9: class C extends A {
        !            10:        public static function Bmethod() {
        !            11:                debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1);
        !            12:     }
        !            13: }
        !            14: 
        !            15: trait T2 {
        !            16:        public static function t2method() {
        !            17:                debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1);
        !            18:        }
        !            19: }
        !            20: 
        !            21: A::Bmethod();
        !            22: A::t2method();
        !            23: 
        !            24: C::Bmethod();
        !            25: C::t2method();
        !            26: ?>
        !            27: --EXPECTF--
        !            28: #0  A::Bmethod() called at [%sbug64239_4.php:%d]
        !            29: #0  A::t2method() called at [%sbug64239_4.php:%d]
        !            30: #0  C::Bmethod() called at [%sbug64239_4.php:%d]
        !            31: #0  A::t2method() called at [%sbug64239_4.php:%d]

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>