AOT: ReflectionExtension::getINIEntries thin proxy matches Zend (#34165) - #34168
Merged
PurHur merged 1 commit intoAug 23, 2026
Merged
Conversation
…). Thin AOT returned NULL for getINIEntries(); bake extension→ini local-value maps via VmIniIntrospection (peer getConstants #34162). Co-authored-by: Cursor <cursoragent@cursor.com>
PurHur
deleted the
agent/issue-34165-reflection-extension-getinientries-aot
branch
August 23, 2026 07:16
This was referenced Aug 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NULLforReflectionExtension::getINIEntries()(ExternalMethod); Zend/VM return the ini directive map (date→ count 5 withdate.timezone).VmIniIntrospection(bounded module list; peer#34162getConstants).reflectionextension::getinientries, spine requires, repro + unit test.php-src:
ext/reflection/php_reflection.c—zim_ReflectionExtension_getINIEntriesCloses #34165
Test plan
./script/aot-smoke.sh→ 8/8./script/phpunit.sh --filter Issue34165ReflectionExtensionGetINIEntriesAotTest→ OK (4 tests, 15 assertions)./script/docker-exec.sh -- bash -lc 'PHP_COMPILER_HELPER_RUNTIME_O=0 php bin/compile.php -o /tmp/x.bin test/repro/issue_34165_reflection_extension_getinientries_aot.php && /tmp/x.bin'→type=array count=5 date.timezone=1 date.default_latitude=1php script/check-selfhost-spine-coverage-sync.php→ OKMade with Cursor