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

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re-2: [PHP-DEV] Re: declaring classes as static or final
Groups: php.internals 
Request: Send a blank email to internals+get-13095@lists.php.net to get a copy of this message
> > 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

« previous php.internals (#13095) next »