1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 21:11:02 +02:00
Files
archived-php-src/ext/opcache/Optimizer
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-10-19 15:13:53 +02:00
2020-09-18 11:03:08 +02:00
2019-02-05 10:33:28 +03:00
2020-03-17 15:23:52 +01:00
2019-02-05 10:33:28 +03:00
2020-07-24 10:05:03 +02:00
2020-01-16 19:14:31 +01:00
2020-07-31 15:53:36 +02:00
2020-07-31 15:53:36 +02:00
2020-09-18 11:03:08 +02:00
2020-12-14 15:29:21 +03:00
2021-01-06 11:29:38 +01:00
2020-12-14 15:29:21 +03:00
2019-10-03 02:18:16 +03:00
2020-11-09 17:08:38 +01:00
2019-02-05 10:33:28 +03:00