Disabling arginfo argument type checks for internal functions

From: Date: Thu, 06 Jun 2019 12:41:51 +0000
Subject: Disabling arginfo argument type checks for internal functions
Groups: php.internals 
Request: Send a blank email to internals+get-105851@lists.php.net to get a copy of this message
Hi internals, I plan to disable the checking of arginfo argument types for internal functions in https://github.com/php/php-src/pull/4232 (PHP 8 only). This is necessary to avoid duplicate type checks in both arginfo and zpp. Once this lands, PRs to add arginfo types (available through reflection) to internal functions will be accepted. As a sanity check, debug builds will make sure that the function call either throws or passes arginfo type checks -- this will help avoid the additional of arginfo types that are not correct enforced by the implementation. Regards, Nikita

« previous php.internals (#105851) next »