feat(v11): rewrite 80 untyped arginfo to typed return macros (#175)#211
Merged
satwareAG-ironMike merged 1 commit intosatware-mainfrom Apr 9, 2026
Merged
feat(v11): rewrite 80 untyped arginfo to typed return macros (#175)#211satwareAG-ironMike merged 1 commit intosatware-mainfrom
satwareAG-ironMike merged 1 commit intosatware-mainfrom
Conversation
…cros (#175) Migrate all ZEND_BEGIN_ARG_INFO/ZEND_BEGIN_ARG_INFO_EX declarations in firebird.c to ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX or ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX macros. Return type mapping: - bool returns: _IS_BOOL via TYPE_INFO_EX - int returns: IS_LONG via TYPE_INFO_EX - string returns: IS_STRING via TYPE_INFO_EX - array|false: MAY_BE_ARRAY|MAY_BE_FALSE via TYPE_MASK_EX - resource|false: MAY_BE_RESOURCE|MAY_BE_FALSE via TYPE_MASK_EX - resource|bool: MAY_BE_RESOURCE|MAY_BE_BOOL via TYPE_MASK_EX Resource-returning functions use MAY_BE_RESOURCE as transitional step; M3 (resource-to-object migration) will change these to OBJ_TYPE_MASK_EX. 84 lines changed (1:1 replacement), zero untyped arginfo remaining. Compilation verified on PHP 8.3 with Firebird 4.0 headers. Stubs sync verified: 89/89 functions covered.
924e5ec to
cbd52f6
Compare
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.
Migrate all ZEND_BEGIN_ARG_INFO/ZEND_BEGIN_ARG_INFO_EX declarations in firebird.c to typed return macros. 84 lines changed (1:1), zero untyped remaining. Build verified PHP 8.3, stubs sync 89/89.