Re: Re: Flexible type hinting

From: Date: Thu, 02 Jul 2009 08:21:13 +0000
Subject: Re: Re: Flexible type hinting
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-44624@lists.php.net to get a copy of this message
On Thu, Jul 2, 2009 at 8:28 AM, Stanislav Malyshev<stas@zend.com> wrote: > Also, looking at the patch I think it doesn't cover the matter of inheriting > the typehinted methods - i.e. if there's a typehinted method, could I > override it with non-typehinted version or vice versa? What about typehinted > interfaces? I don't think we need to worry about this. Consider it to be the same as default values. So yes, yes, allowed but dont do anything since those functions are never called. Paul > -- > Stanislav Malyshev, Zend Software Architect > stas@zend.com   http://www.zend.com/ > (408)253-8829   MSN: stas@zend.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Paul Biggar paul.biggar@gmail.com

« previous php.internals (#44624) next »