[php-src] PR #18066: Fix IN_ARRAY optimization
| From: | iluuu1994 | Date: | Fri, 14 Mar 2025 12:44:00 +0000 |
| Subject: | [php-src] PR #18066: Fix IN_ARRAY optimization | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31074@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18066
Author: iluuu1994
in_array() calls are compiled to frameless calls. Adjust the optimization appropriately. Luckily,
frameless opcodes simplify the optimization quite a bit.
Fixes GH-18050
I'm not sure if this should land on
master? Technically a bug, but the fix is not
risk-free.