Skip to content

M2 spine: add sort_.php to compiler_lib_spine_smoke (#1683) - #1799

Merged
PurHur merged 1 commit into
masterfrom
issue-1683-sort-spine
May 24, 2026
Merged

M2 spine: add sort_.php to compiler_lib_spine_smoke (#1683)#1799
PurHur merged 1 commit into
masterfrom
issue-1683-sort-spine

Conversation

@PurHur

@PurHur PurHur commented May 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add ext/standard/sort_.php to compiler_lib_spine_smoke (568/586 inventory units).
  • Refactor sort_ VM execute() to use VmInternalCompare::sortVariableValues (strings) and closure-free integer insertion sort so AOT lint passes without bundling VmString.php.

Test plan

  • ./script/docker-ci-local.sh fast --filter BootstrapSelfhostBundleTest
  • ./script/docker-ci-local.sh fast --filter 'BootstrapSelfhostBundleTest|SortBuiltin'

Closes #1683

Made with Cursor

Bundle sort() into the self-host spine (568/586 inventory). Refactor VM
execute() to use VmInternalCompare insertion sort without PHP closures so
AOT lint passes without pulling in VmString.php.

Closes #1683

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

Development

Successfully merging this pull request may close these issues.

M2 spine: add ext/standard/sort_.php to compiler_lib_spine_smoke

1 participant