Hey Guilherme, > On 11 Feb 2015, at 22:46, guilhermebla...@gmail.com wrote: > > @Andrea: I spent around 2-3 hours speaking with Anthony and the other half > talking to Jordi (Composer, Symfony). > I still think a few things are required to be fully usable. > 1- Exceptions RFC (outside of your scope, but making the code under strict > type impossible to recover in a library)
Yeah, I agree that this is quite important. This could actually be fixed without exceptions (make type hint error skip the function call?), but they’re a nicer way to do it (possibly simpler within the engine?). > 2- Lack of numeric scalar type > There're others, but these ones are keys to make them fully usable. A number (or numeric, or num, or some other name) type hint is something I plan to propose in a future, follow-up RFC. Thanks. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php