Skip to content

Stdlib: withhold ext/ds phantom on reference profile (#25086) - #25891

Merged
PurHur merged 1 commit into
masterfrom
fix/25086-ds-phantom-extension
Jul 31, 2026
Merged

Stdlib: withhold ext/ds phantom on reference profile (#25086)#25891
PurHur merged 1 commit into
masterfrom
fix/25086-ds-phantom-extension

Conversation

@PurHur

@PurHur PurHur commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add DsExtensionPolicy so extension_loaded('ds') and Ds\Vector/Map/Set match Zend without pecl-ds (host load or PHP_COMPILER_ENABLE_DS=1).
  • Wire ModuleRegistry / BuiltinIntrospectionPolicy withhold; functional PHPT opts in via --ENV--.
  • Inventory/spine: 6644/6645.

Closes #25086

Test plan

  • VM repro → ext=0 / Vector=0 (matches Zend); ENABLE_DS opts in
  • DsExtensionPolicyTest + phantom + ds_vector_map_set → OK (6 tests)
  • inventory/spine footnotes synced
  • Sidecar stamp intentionally stale (BOOTSTRAP_ALLOW_STALE_SIDECAR=1)

Made with Cursor

Gate extension_loaded('ds') and Ds\{Vector,Map,Set} behind host pecl-ds or
PHP_COMPILER_ENABLE_DS, matching zmq advertisement policy.

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.

Regression: extension_loaded('ds') phantom — Zend pecl-ds absent (ext/ds)

1 participant