Re: ZEND_ARG_TYPE_INFO usage in core?

From: Date: Sun, 30 Apr 2017 01:23:11 +0000
Subject: Re: ZEND_ARG_TYPE_INFO usage in core?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-98918@lists.php.net to get a copy of this message
Hey Nikita, Nikita Popov wrote:
The solution to these problems is simple: Stop checking arginfo types for internal functions, just use them for reflection / inheritance checks, but leave the actual type-checking to zpp.
I agree that this is the way forward. An alternative would be splitting the responsibilities of argument type checking/conversion and PHP-value-to-C-value conversion. But the latter would be slower and isn't the path of least resistance. :) Thanks! -- Andrea Faulds https://ajf.me/

« previous php.internals (#98918) next »