You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Walk the dynamic variable name once, drop the vestigial clone walks
Two leftover noop-callback walks over real AST:
- A dynamic-name read-modify-write target (`$$name op= ...`) priced the whole
variable through the walk machinery because the name expression was only
walked later by the write flow. PHP evaluates the name before reading the
old value, so prepareTarget() now walks it once - with the real node
callback, at its actual evaluation point - composes the read from the
result, and threads it on the PreparedAssignTarget; the write flow consumes
it instead of walking the name again after the value.
- The ExistingArrayDimFetch branch walked the cloned chain so its nodes had
stored results, but the composition below prices the clones directly
through the scope - the walks had no observable effect here.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DaBZjgksga4c5s6Q9FniY7
0 commit comments