[php-src] Issue #8073: Calling debug_backtrace in a foreach cycle restarts the foreach cycle
| From: | cmb69 | Date: | Wed, 23 Mar 2022 12:24:02 +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-240466@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8073
Comment Author: cmb69
> I would say that modification of array iterated through foreach by reference may cause
> undefined iteration behavior.
Makes sense to me. Thanks! Switching to documentation issue.