Re: Re: declaring classes as static or final
| From: | Marcus Boerger | Date: | Thu, 30 Sep 2004 20:08:56 +0000 |
| Subject: | Re: Re: declaring classes as static or final | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13080@lists.php.net to get a copy of this message | ||
Hello Michael,
Thursday, September 30, 2004, 9:19:12 PM, you wrote:
>> 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.
You mean like an interface adds abstract to all functoins...
--
Best regards,
Marcus mailto:helly@php.net