> I prefer option (3) - invariant return types.
> Actually, return type compatibility check should follow all the rules for
> parameter type compatibility check (may be even reuse or share the code).

Realistically there isn't much code to share, especially since the two
structures are incompatible. That is, they are incompatible until
`zend_string *` is used in parameters (which I'm hopeful will happen).

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to