Re-2: [PHP-DEV] Re: declaring classes as static or final

2004-10-01 Thread michael . virnstein
> > You mean like an interface adds abstract to all functoins... exactly. needless to say, that the variable $this would not be available in those classes and that subclasses of that class have to be static also. what i'm not sure about is, if it would be better to let ppl type static on the

Re: Re-2: [PHP-DEV] Re: declaring classes as static or final

2004-09-29 Thread Andrey Hristov
[EMAIL PROTECTED] wrote: Thanks! What would probably be a good thing, is to mention that in the docs for the final keyword. Make the constructor private and the class final. No instance will be available, and no inheritance possible. Methods has to work, and therefore they may not expect to have