Stdlib: withhold gmp on reference profile without host php-gmp (#22860)#22998
Merged
Conversation
Match Zend: extension_loaded('gmp') and gmp_*/GMP stay false on the 8.4.0-dev
reference harness; enable via host ext/gmp or PHP_COMPILER_PROFILE=8.4.
Phantom compliance + policy unit coverage.
Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 25, 2026
PurHur
added a commit
that referenced
this pull request
Jul 25, 2026
#22998 added ext/gmp/GmpExtensionPolicy.php to the vm.php inventory without compiler_lib_spine_smoke coverage; release-readiness then failed spine-coverage / north-star5-fast (6518/6519). Sync the require, bump footnotes to 6519/6519, restamp sidecar SHA-1 + lowering fingerprint after master drift (#8713). Honest verified-fresh remains on #22642/#22717. Co-authored-by: PurHur <PurHur@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
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
ext/gmpadvertisement on hostextension_loaded('gmp')orPHP_COMPILER_PROFILE=8.4(CompilerVersion::supportsGmp()), matching Zend builds without php-gmp.gmp_*/GMPclass / module registration on the reference harness; skip functional gmp PHPTs until advertised (phantom kept).ext/gmp/gmp.c; PHP inext/gmp+ introspection/module registry.Closes #22860
Test plan
php bin/vm.php test/repro/extension_loaded_gmp_phantom.php→ allno(matches Zend)PHP_COMPILER_PROFILE=8.4 php bin/vm.php …→ allyesvendor/bin/phpunit --filter GmpExtensionPolicyTest→ OKvendor/bin/phpunit --filter extension_loaded_gmp_phantom→ OK (2)php script/bootstrap-inventory.php --check→ OK 6519/6519Verification transcript
Made with Cursor