FAQ

Dmitry Stogov schrieb:
Yes. But with Sebastian's patch object is stored in bactrace.
So refcount is more then 1 and we cannot simple destroy it.
Would it help to move the functionality I need from debug_backtrace()
into a new function or make it optional in debug_backtrace()?

--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

Search Discussions

  • Dmitry Stogov at Nov 1, 2005 at 7:32 am
    Hmm, this is an idea. (I don't know yet if it good or bad)
    Current problem occurs because the same debug_backtrace is called during
    exception creation.
    Probably we can disable storing of "object" in case of backtrace for
    exception.
    This should solve the problem.

    Thanks. Dmitry.
    -----Original Message-----
    From: Sebastian Bergmann
    Sent: Tuesday, November 01, 2005 10:09 AM
    To: internals@lists.php.net
    Subject: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 /
    zend_builtin_functions.cphp-src NEWS


    Dmitry Stogov schrieb:
    Yes. But with Sebastian's patch object is stored in bactrace. So
    refcount is more then 1 and we cannot simple destroy it.
    Would it help to move the functionality I need from
    debug_backtrace() into a new function or make it optional in
    debug_backtrace()?

    --
    Sebastian Bergmann
    http://www.sebastian-bergmann.de/
    GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867
    C514 B85B 5D69

    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php
  • Sebastian Bergmann at Nov 1, 2005 at 7:42 am

    Dmitry Stogov schrieb:
    This should solve the problem.
    Okay, I reverted the patch for now and will {think about|work on} this.

    --
    Sebastian Bergmann http://www.sebastian-bergmann.de/
    GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedNov 1, '05 at 7:08a
activeNov 1, '05 at 7:42a
posts3
users2
websitephp.net

People

Translate

site design / logo © 2022 Grokbase