RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_compile.c
| From: | Dmitry Stogov | Date: | Fri, 20 Oct 2006 08:43:32 +0000 |
| Subject: | RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_compile.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-5347@lists.php.net to get a copy of this message | ||
Static methods may not de overridden.
It is absolutely legal if static method in children classes have
incompatible prototypes with static method in parent class.
For what reason we need "abstract static methods"?
Are we OOP pioneers?
Dmitry.
> -----Original Message-----
> From: Derick Rethans [mailto:derick@php.net]
> Sent: Friday, October 20, 2006 12:11 PM
> To: Andi Gutmans
> Cc: 'Dmitry Stogov'; 'Ilia Alshanetsky'; zend-engine-cvs@lists.php.net
> Subject: RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) /
> zend_compile.c
>
>
> On Fri, 20 Oct 2006, Andi Gutmans wrote:
>
> > I cant remember the discussion we had in the past.
> > Why is it important to not allow overriding of static functions? We
> > can/should probably enforce the same contract of course.
>
> http://marc.theaimsgroup.com/?t=116129338300001&r=1&w=2
> and
> http://marc.theaimsgroup.com/?t=114734986200004&r=1&w=2
>
> regards,
> Derick
>