Re: [PHP] Strange problem in class creation

2003-08-14 Thread Mukul Sabharwal
>From the looks of it, if i were to do the same, I would rather make second class the one I initiate and "return" it, but that would require a third. And the error is strange because you're doing something strange! What do you want to do ? Be able to access base_class stuff from second_class ? If

Re: [PHP] Strange problem in class creation

2003-08-14 Thread Fabio Rotondo
Mukul Sabharwal wrote: And the error is strange because you're doing something strange! I don't think I'm doing anything strange. What I have exposed here is a simplification of my own class loader. I have the main class that must load (include and then instance) other PHP classes. The problem i

Re: [PHP] Strange problem in class creation

2003-08-12 Thread Mukul Sabharwal
> > > And the error is strange because you're doing > > something strange! > > I don't think I'm doing anything strange. What I > have exposed here is a simplification of my own > class loader. I have the main class that must > load (include and then instance) other PHP classes. > The problem