Re: declaring classes as static or final

From: Date: Thu, 30 Sep 2004 19:19:12 +0000
Subject: Re: declaring classes as static or final
Groups: php.internals 
Request: Send a blank email to internals+get-13079@lists.php.net to get a copy of this message
1. static classes: static classes can only contain static methods and attributes
what would be even easier than the above: if a class is declared "static" or "final static", the attributes and methods in that function are static by default, so you don't need to type static on every method and attribute. Regards, Michael

« previous php.internals (#13079) next »