mirror of
https://github.com/php/php-src.git
synced 2026-04-13 19:14:16 +02:00
Previously, two useless FE_RESET_R and FE_FREE would be left over whether the empty array was from a literal, a variable, or a class constant. This doesn't pick up the RESET_RW case due to a weakness in our "may throw" modeling. (for foreach by reference). Co-Authored-By: Nikita Popov <nikita.ppv@gmail.com> using https://gist.github.com/nikic/58d367ad605e10299f5433d2d83a0b5b Closes GH-4949