Re: parent_ctor()

From: Date: Sun, 16 Jul 2000 15:56:48 +0000
Subject: Re: parent_ctor()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-24666@lists.php.net to get a copy of this message
On Sun, 16 Jul 2000, Zeev Suraski wrote: > At 17:51 16-07-00, Andrei Zmievski wrote: > >At 04:45 PM 7/16/00 +0200, you wrote: > > > > > >Lill function calling the constructor of the direct parent of > > >a object. > > > > > >I get the feeling my diff is doing stuff the wrong way > > >_ where + is required and vice versa > > > > > >so I'm putting the changed file (I put it in zend_builtin_function.c) > > >on http://sitedev.gginter.net/zend_builtin_functions.c > > > > > >Hope *this* one gets accepted hehe > > > >The right way would be to implement $super. > > We're not going to implement $super. It's be way too slow and doesn't give > you anything you cannot otherwise achieve. > I'm thinking about implement super:: (which would have no noticeable > performance implications), but it won't help you in the specific case of > constructors (unless we make a special case for super::super(), which I > think is a bit ugly). > > Zeev > -- > Zeev Suraski <zeev@zend.com> http://www.zend.com/ > Uhm, slow? There's $this, I think you can make $super be the same. I don't see this to be slow.. . -- CaPS

« previous php.dev (#24666) next »