Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DEBUG: Suppress Fatal error on arginfo / zpp mismatch detection #10451

Open
@zeriyoshi

Description

Description

Debug built PHP 8.2 raises a Fatal error when there is a mismatch between function and method arginfo and the actual arguments parsed by Zend Parse Parameter.

This is a useful feature for debugging, but makes it difficult to get a core dump in situations where arginfo is not properly declared for ext-grpc, ext-protobuf, ext-redis, etc.

Therefore, I propose to add ZEND_SUPPRESS_ARGINFO_ZPP_MISMATCH like USE_ZEND_ALLOC or ZEND_DONT_UNLOAD_MODULES to provide a way to bypass these checks.

This change is only valid for debug builds and does not apply to release built PHP. For this reason, I believe the RFC is unnecessary.

Implementation: #10424

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /