Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37875 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70622 invoked from network); 26 May 2008 00:35:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 May 2008 00:35:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=danielc@analysisandsolutions.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danielc@analysisandsolutions.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain analysisandsolutions.com from 166.84.1.73 cause and error) X-PHP-List-Original-Sender: danielc@analysisandsolutions.com X-Host-Fingerprint: 166.84.1.73 mail2.panix.com Received: from [166.84.1.73] ([166.84.1.73:62668] helo=mail2.panix.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/05-21001-1C50A384 for ; Sun, 25 May 2008 20:35:13 -0400 Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mail2.panix.com (Postfix) with ESMTP id 331CE34813 for ; Sun, 25 May 2008 20:35:10 -0400 (EDT) Received: (from analysis@localhost) by panix3.panix.com (8.11.6p3/8.8.8/PanixN1.1) id m4Q0ZAU12731 for internals@lists.php.net; Sun, 25 May 2008 20:35:10 -0400 (EDT) Date: Sun, 25 May 2008 20:35:10 -0400 To: PHP Internals List Message-ID: <20080526003510.GA21086@panix.com> References: <20080405132733.GA6531@panix.com> <20080525170701.GA5207@milch.schokokeks.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080525170701.GA5207@milch.schokokeks.org> User-Agent: Mutt/1.5.10i Subject: static classes (was: Overloading Clarifications) From: danielc@analysisandsolutions.com (Daniel Convissor) Hi Lars: On Sun, May 25, 2008 at 07:07:01PM +0200, Lars Strojny wrote: > On Sat, Apr 05, 2008 at 09:27:33AM -0400, Daniel Convissor wrote: > > > * The new __callStatic() is neat. Thanks. Is there consideration of > > adding Static versions of the other overloading methods? > > It is part of the proposal for real static classes > (http://wiki.php.net/rfc/static-classes) to complete them accordingly > with __setStatic(), __getStatic() and so on. Cool. It would be nice if the __*Static() magic methods could exist in regular classes, not just the proposed static classes. A question regarding this part of your RFC: Static classes may not have a constructor, destructor, dynamic interceptors or __toString() What do you mean by dynamic interceptors? Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409