Open
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