Hi Walter,
On Thu, 26 Feb 2004 11:44:47 -0800, Walter A. Boring IV wrote:
> well, if you are implementing something completely new in php5,
> there there are no compatibility issues. I have many classes in my
> projects in php4. I'm not sure of how many child constructors have
> different pa
Hello,
in the latest snapshot i found some very important differences to the php5
beta 4 version concerning the behavior of inherited classes. please look at
the following example:
the output is:
Fatal error: Declaration of MyClass::test() must be compatible with that of
MyParent::test() in
I say keep compatibility. If you want to enforce this, then declare an
interface. That is after all why they exist.
Walt
> Hello,
>
> in the latest snapshot i found some very important differences to the php5
> beta 4 version concerning the behavior of inherited classes. please look at
> the f
Walter A. Boring IV wrote:
> I say keep compatibility. If you want to enforce this, then declare an
> interface. That is after all why they exist.
>
> Walt
...
Would be nice if you could give a simple example - i really have problems
working with interfaces :(
My problem was to design a files
On Thu, 26 Feb 2004, Vivian Steller wrote:
> Fatal error: Declaration of MyClass::test() must be compatible with that of
> MyParent::test() in ... on line 3
>
>
> I think that this is a nice feature in the face of "compatibility", but may
> cause in a complete restructure of existing class trees.
Quoting Vivian Steller <[EMAIL PROTECTED]>:
> Walter A. Boring IV wrote:
>
> > I say keep compatibility. If you want to enforce this, then declare an
> > interface. That is after all why they exist.
> >
> > Walt
> ...
>
> Would be nice if you could give a simple example - i really have proble