1
0
mirror of https://github.com/php/php-src.git synced 2026-04-13 19:14:16 +02:00
Files
archived-php-src/ext/opcache
Tyson Andre df0fa5b178 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
2021-01-07 09:43:31 -05:00
..
2020-11-25 11:47:05 +01:00
2019-02-05 10:33:28 +03:00
2020-11-28 13:52:46 +01:00
2020-09-18 14:26:44 -07:00
2019-02-05 10:33:28 +03:00
2020-12-15 09:51:51 +01:00
2020-09-18 14:26:44 -07:00