[php-src] Issue #8073: Calling debug_backtrace in a foreach cycle restarts the foreach cycle
| From: | andrejsverza | Date: | Tue, 15 Mar 2022 13:14:19 +0000 |
| Subject: | [php-src] Issue #8073: Calling debug_backtrace in a foreach cycle restarts the foreach cycle | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240342@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8073
Comment Author: andrejsverza
While I'm not keen on manipulating the array while it's being iterated, that worked
consistently before. Even when adding new elements to the array on the fly and even when redefining
the array. So this is legit.
I still see this as a bug. So, what's your vision and proposal? Thank you! :)