Re-2: Re: declaring classes as static or final

php.internals

Michael Virnstein

21 years ago
> > 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 subclass also to not get an error or if the subclass would be static by default without the static keyword. Probably it would be more readable if they have to use the static keyword on subclasses too, but as i said, i'm not sure about that. Regards, Michael To: helly@php.net Cc: internals@lists.php.net