> De : Rowan Collins [mailto:rowan.coll...@gmail.com]
> That's precisely the case for every existing user-defined function.
> Switching to PHP 7 won't suddenly add type hints to every function in
> every library and every existing bespoke code base, so there is no way
> to avoid that thought process.
> 
> > I think the rules need to apply to everything or nothing.
> 
> The rules will apply to everything in the same way - if a function is
> typehinted, it behaves like so; if it's not, it behaves the same way it
> did in PHP 5.

I understand your pov but, in mine, there's no reason to artificially consider 
internal functions as untyped by adding another mostly-redundant mechanism for 
internal type hinting. If nothing existed, this would be fine, but if we split 
ZPP and type hinting info, we're creating a redundancy we'll pull behind us 
forever.

Regards

François



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

Reply via email to