Am 28.05.2010 20:07, schrieb Stas Malyshev:
> On top of that, your boilerplate throws exception. Strict typing would
> error out. That's very different thing (exceptions can be handled
> hierarchically, errors can't). So replacing that with strict type 
> probably won't do the same.

 The "optional scalar type hinting" would raise a catchable fatal error
 that could be converted to an exception.

-- 
Sebastian Bergmann                    Co-Founder and Principal Consultant
http://sebastian-bergmann.de/                           http://thePHP.cc/


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

Reply via email to