Skip to content

AOT: nested string-offset must not autovivify array over string (#36397) - #37011

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-36397-nested-str-offset
Sep 6, 2026
Merged

AOT: nested string-offset must not autovivify array over string (#36397)#37011
PurHur merged 1 commit into
masterfrom
agent/issue-36397-nested-str-offset

Conversation

@PurHur

@PurHur PurHur commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • Repro Zend vs AOT: ab|Xb|string / Xb|string / Xb|string
  • ./script/aot-smoke.sh9/9
  • script/differential-sweep.sh --aot --repeat 10 on nested dim + new case → 2/2
  • Full script/differential-sweep.sh --aot --repeat 3238/248 (7 DIFF + 3 COMPILE); same 7 DIFF cases fail on master without this fix (no new regressions)
  • make north-star5-verify-fastOK (spine 8327/8327)

Made with Cursor

Preserve CFG TYPE_STRING for nested FETCH_DIM_W and separate the HT string
slot before byte writes so `$a['s'][0]='X'` matches Zend (no empty-array fillup).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 7b8e331 into master Sep 6, 2026
1 check failed
@PurHur
PurHur deleted the agent/issue-36397-nested-str-offset branch September 6, 2026 13:35
PurHur added a commit that referenced this pull request Sep 6, 2026
)

Include array_cow_nested_str_offset_36397.php (#37011) so check-generated-docs
stays green after the SiblingOuter Concern extract rebase onto tip.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant