Yes...
Becouse in some large projects, it's very hard to wok with a single level
inheritance...
i think that PHP is a very good language and come better every day... so i
hope in the future programmers can use multiple inheritante with classes in
PHP.
Thank for the answer
Alberto
"Plutarck" <[EMAIL PROTECTED]> wrote in message
9b9ih0$81h$[EMAIL PROTECTED]
> Nope, I'm afraid not.
>
> Currently PHP will support single level inheritance only. So A can extend
B,
> but C cannot extend B. You will need to create a class of B to extend it
> with C.
>
> I suppose PHP may one day support it, but I am guessing that the Zend API
> can't currently handle it. I think it will need to be retooled.
>
>
> Sounds like a nice thing to shoot for for PHP5, perhaps?
>
>
> --
> Plutarck
> Should be working on something...
> ...but forgot what it was.
>
>
> ""alberto"" <[EMAIL PROTECTED]> wrote in message
> 9b9eu7$s6n$[EMAIL PROTECTED]">news:9b9eu7$s6n$[EMAIL PROTECTED]...
> > Anyone know if one day PHP will support multiple inheritance?
> > I think it's very important...
> >
> > For example, will PHP support this code:
> >
> > class A extends B, extends C {
> > ....
> > }
> >
> > where B and C are classes?
> >
> > Thanks!
> > Alberto
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]