Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13183 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27363 invoked by uid 1010); 5 Oct 2004 23:36:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24991 invoked from network); 5 Oct 2004 23:36:22 -0000 Received: from unknown (HELO bobsilva.com) (198.237.84.92) by pb1.pair.com with SMTP; 5 Oct 2004 23:36:22 -0000 Received: from [198.237.84.90] (account me HELO salty) by bobsilva.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 444419 for internals@lists.php.net; Tue, 05 Oct 2004 16:12:14 -0700 To: Date: Tue, 5 Oct 2004 16:36:24 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcSrNCAnZp3z86H5Sqy11mYim01cXA== Message-ID: Subject: Static Constructors From: junkmail@bobsilva.com ("Robert Silva") I've put together a rough implementation of static constructors. I'd like to get peoples thoughts about it then I'll either clean it up and submit it or nuke it. Basically the class constructor __cconstruct (have any better ideas?) is called upon the first access to any static property and marks the class entry as initialized.