Re: OOP and Future of PHP
| From: | Yasuo Ohgaki | Date: | Thu, 26 Apr 2001 13:01:32 +0000 |
| Subject: | Re: OOP and Future of PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50452@lists.php.net to get a copy of this message | ||
> At 02:10 PM 4/26/2001 +0900, Yasuo Ohgaki wrote:
> >"Steven Haryanto" <steven@haryan.to> wrote in message
>
> >>news:4.3.2.7.2.20010426022139.021a16f8@bdg.centrin.net.id...
> > > At 4/25/2001 09:02 PM, Reuben D Budiardja wrote:
> >
> >*SNIP*
> >
> > > What I *really* like to see in PHP is:
> > >
> > > - NAMESPACE
> > > - TRACEBACK INFO
> > > - exception (try-except block)
> > > - $obj->method()->anotherMethod()
> > > - real destructor would be nice, but not extremely important for
> > > the time being, due to the nature of PHP usage in Web pages
> >
> >I agree, but
> >
> >$obj->method()->anotherMethod()
> >
> >works for me. What does not work to be specific?
>
> I don't know how it works for you because it's not supported :)
>
I got it what you and he means.
I thought $obj->anotherObj->method(), but it was
> >$obj->method()->anotherMethod()
He means calling anotherMethod() from a method(), it does not work :)
Is there any good supporting this? (and why need this?)
--
Yasuo Ohgaki