Stdlib: get_defined_functions() exclude_disabled filter (#4942)#16890
Merged
PurHur merged 2 commits intoJul 6, 2026
Conversation
Retarget bool assignOperandValue writes on string-typed phi slots, always lower native string dim fetches via StringOffsetHelper (not list-unpack hashtable stubs), and guard isset/empty hashtable paths; use a literal DateException FQCN in ThrowableManifest for PHP 8.2 compile hosts. Co-authored-by: Cursor <cursoragent@cursor.com>
PHP 8.4 optional bool omits ZEND_ACC_DEPRECATED internals (utf8_encode/decode) from the internal bucket; VM + JIT + named args gated on forward 8.4 profile. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 6, 2026
Closed
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
bool $exclude_disabledtoget_defined_functions()on VM and JIT (forward8.4profile gate, same asget_declared_*exclude_deprecated).utf8_encode/utf8_decodefrom the internal bucket when enabled (php-srcZEND_ACC_DEPRECATEDinternals).exclude_disabled:viaBuiltinParamNames+ php-types patch.php-src reference
ext/standard/basic_functions.c—PHP_FUNCTION(get_defined_functions)Zend/zend_API.c— deprecated internal function registrationVerification
Closes #4942
Made with Cursor