Skip to content

AOT: ReflectionExtension::getConstants thin proxy matches Zend (#34162) - #34163

Merged
PurHur merged 1 commit into
masterfrom
fix/34162-reflection-extension-getconstants-aot
Aug 23, 2026
Merged

AOT: ReflectionExtension::getConstants thin proxy matches Zend (#34162)#34163
PurHur merged 1 commit into
masterfrom
fix/34162-reflection-extension-getconstants-aot

Conversation

@PurHur

@PurHur PurHur commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

php-src: ext/reflection/php_reflection.czim_ReflectionExtension_getConstants.

Closes #34162

Test plan

  • ./script/aot-smoke.sh8 passed, 0 failed
  • Repro Zend/VM/AOT: test/repro/issue_34162_reflection_extension_getconstants_aot.phptype=array count=17 DATE_ATOM=1 SUNFUNCS_RET_DOUBLE=1
  • ./script/phpunit.sh --filter Issue34162ReflectionExtensionGetConstantsAotTest → OK (4 tests, 15 assertions)
  • php script/check-selfhost-spine-coverage-sync.php → OK

Not covered: full compliance suite, differential sweep, ci-fast.sh, north-star5-verify --strict.

Made with Cursor

Bake extension constant maps for thin AOT; ExternalMethod previously returned NULL.
Closes #34162.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit a364f14 into master Aug 23, 2026
@PurHur
PurHur deleted the fix/34162-reflection-extension-getconstants-aot branch August 23, 2026 07:01
PurHur added a commit that referenced this pull request Aug 23, 2026
Deduped two require_once lines that overlapped #34157/#34163 merges;
inventory/docs now match Phase A SSOT. No gen-0 restamp.
PurHur added a commit that referenced this pull request Aug 23, 2026
* Trust: sync 12 vm.php-path units into compile spine (#23474).

Recent AOT/stdlib landings grew Phase A inventory without spine
require_once lines; north-star5-verify-fast step 2 was red (7807/7817).
spine-sync --no-link restores 7819/7819 coverage; no gen-0 restamp.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Trust: refresh spine footnotes to 7821/7821 after master race.

Deduped two require_once lines that overlapped #34157/#34163 merges;
inventory/docs now match Phase A SSOT. No gen-0 restamp.

---------

Co-authored-by: PurHur <PurHur@users.noreply.github.com>
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.

AOT: ReflectionExtension::getConstants returns NULL — thin AOT omits proxy (ext/reflection/php_reflection.c)

1 participant