Released: 2026-03-13. Diff.
Version rationale: patch for a scoped PHP runtime-correctness fix plus parity-surface inventory hardening without import-model or runtime floor changes.
Infrastructure
- Added a parity-adjacent runtime-surface guardrail that discovers callable functions from the target PHP 8.3 Docker image, compares them against Locutus' shipped PHP surface, hard-fails on unclassified Locutus-only extras, and reports runtime-only functions as inspiration rather than CI failures.
- Added a shared runtime-surface policy inventory in
docs/runtime-surface-policy.ymlso intentional shipped extras, wanted runtime-only functions, and explicitly out-of-scope runtime functions are tracked separately from the CI hard-fail rules.
Fixes
- Fixed
php/array/asortandphp/array/arsortfor real JavaScript arrays by degrading preserved-key sorts to reindexed array output where JS cannot represent PHP's numeric-key iteration order, and correctedarsort(..., 'SORT_NUMERIC')to actually sort descending.