Register nextafter() on 8.4.0-dev forward profile (#15584) - #15591
Merged
Merged
Conversation
Gate with advertisesBuiltinSince('8.4.0') like str_increment; stop VmMath
from delegating to the VM-registered builtin (wrong recursion); fix
InternalStrictArg JITVariable typo blocking AOT lowering; align var_export
float formatting with Zend for IEEE edge values.
Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 3, 2026
PurHur
added a commit
that referenced
this pull request
Jul 3, 2026
…) (#15648) Sync docs/capabilities.md and capability-comparison.html with builtin advertisement changes from #15577 (sodium AES-GCM/Ed25519/secretstream) and #15591 (nextafter on 8.4.0-dev forward profile). 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
CompilerVersion::supportsNextafter()toadvertisesBuiltinSince('8.4.0')sofunction_exists('nextafter')is true on the8.4.0-devforward profile (php-src 8.4 math.c).VmMath::nextafter()delegating to the VM-registered builtin (incorrect float + recursion risk).InternalStrictArg::requireFloat()JITVariable→Variabletypo blocking JIT/AOT lowering.VmVarExportFloatwith Zendvar_exportfor IEEE edge floats (e.g.nextafter(1.0, 0.0)).Closes #15584
Verification
Output:
Note: full
AotTest::nextafter_basiclink/run still hits harness LLVM segfault (same aswordwrap_width_coerceon this host); VM + JIT + compile-only probe are green.Made with Cursor