diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2019-11-26 10:11:47 -0500 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2021-01-07 09:43:31 -0500 |
commit | df0fa5b1787c6b26b6abfb721d7b5a00b77a1fb6 (patch) | |
tree | 0d572098a3245fd8315aaaf86b660dcb62cc8eaa /ext/pdo_mysql/mysql_driver.c | |
parent | 3460af5262e268fb6f5150c33b38ae6ad42d9b95 (diff) | |
download | php-git-df0fa5b1787c6b26b6abfb721d7b5a00b77a1fb6.tar.gz |
Clean up remaining opcodes for foreach([] as $x)
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
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
0 files changed, 0 insertions, 0 deletions