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/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php