On Fri, 9 Jul 2021 at 11:49, Lauri Kenttä <lauri.ken...@gmail.com> wrote:
> is there a compelling reason why the internal names couldn't be marked > literal > (even if it's technically "wrong")? Hi Lauri, Just again quickly noting we’re only talking about ~0.43% difference, nothing major in any way. But we wanted to ensure developers didn't wonder why something was seen as a literal in one case, but not in another (we wanted to ensure consistency), because most people don’t know much about how the internals of PHP work - especially optimisations which are supposed to be kind of ‘invisible’ to developers. This change also helped when a couple of other compiler optimisations happen: https://wiki.php.net/rfc/is_literal#compiler_optimisations Craig