Re: parent_ctor()
| From: | Sterling Hughes | Date: | Sun, 16 Jul 2000 15:51:11 +0000 |
| Subject: | Re: parent_ctor() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24665@lists.php.net to get a copy of this message | ||
> 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).
I like the super:: idea, however, I think it should be SUPER:: (uppercase).
Sterling