De : Dmitry Stogov [mailto:dmi...@zend.com] 

> Yeah, this may work.
> The only problem, that it looks not native and defines additional language 
> for constraints.
> I don't talk it's wrong. Both approaches may make sense, but of course, we 
> have to select one.

Yes, it makes phpdoc more tied to the engine but is it a problem ?

I think BC is essential here. If people need to write PHP7-specific code, we'll 
loose them.

And remember : we already have tons of code with documented argument/return 
types ready for DbC checks.

François


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

Reply via email to