]> granicus.if.org Git - php/commit
Skip unnecessary unknown() frames
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 23 Sep 2020 15:06:28 +0000 (17:06 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 24 Sep 2020 08:34:24 +0000 (10:34 +0200)
commit450f2ff4062f1a53834f749e4f0f2a59cc2cc911
tree29bfa45e0f1b294556c7436a882d572a45c4b744
parentbe4553b61a0979154928cfe87748c0620b81a2e0
Skip unnecessary unknown() frames

Noticed this while working on attributes strict_types handling.
We sometimes insert dummy frames internally, but I don't think
these should show up in debug_backtrace output unless they're
needed, either to display an include call or to preserve file/line
information that would otherwise get lost.

Closes GH-6195.
Zend/zend_builtin_functions.c
ext/phar/tests/cache_list/frontcontroller29.phpt
ext/phar/tests/frontcontroller29.phpt