Re: [PHP] constructors in derived classes

2002-04-11 Thread Erik Price
On Thursday, April 11, 2002, at 02:17 PM, Andrey Hristov wrote: > In PHP the programmer has to call the constructor of the super class. > The derived class has to know the name of his "super"(java syntax). > In PHP5 the constructor will have unified name, there will not be a > need the derived

Re: [PHP] constructors in derived classes

2002-04-11 Thread Andrey Hristov
In PHP the programmer has to call the constructor of the super class. The derived class has to know the name of his "super"(java syntax). In PHP5 the constructor will have unified name, there will not be a need the derived class to know super class name. So base_var = $init;} } class Extended ex