On 25 June 2013 18:32, Laruence <larue...@php.net> wrote: > On Tue, Jun 25, 2013 at 11:57 PM, Anthony Ferrara <ircmax...@gmail.com> wrote: >> Hey all, >> >> https://wiki.php.net/rfc/protocol_type_hinting >> What do you think? > > Hey: > Just one question, usage? why we need this? (run-time check is > slow and I can not think out of a case then we must need it)
I'd rather see a proposal for: $foo->setLogger(new Logger() { function log($message) { fprintf(STDERR, "%s\n", $message); } }); Just sayin... -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php