Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45495 invoked by uid 1010); 30 Sep 2004 20:11:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40599 invoked from network); 30 Sep 2004 20:11:04 -0000 Received: from unknown (HELO jan.prima.de) (83.97.50.139) by pb1.pair.com with SMTP; 30 Sep 2004 20:11:04 -0000 Received: from BAUMBART (p508E9ECC.dip.t-dialin.net [::ffff:80.142.158.204]) (IDENT: HydraIRC, AUTH: LOGIN tobi) by jan.prima.de with esmtp; Thu, 30 Sep 2004 20:11:03 +0000 Date: Thu, 30 Sep 2004 22:08:56 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1395457968.20040930220856@marcus-boerger.de> To: Michael Virnstein CC: internals@lists.php.net In-Reply-To: <20040930191953.24688.qmail@pb1.pair.com> References: <20040930191953.24688.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: declaring classes as static or final From: helly@php.net (Marcus Boerger) 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