Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39969 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74739 invoked from network); 14 Aug 2008 22:38:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2008 22:38:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=thekid@thekid.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=thekid@thekid.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thekid.de from 212.227.126.183 cause and error) X-PHP-List-Original-Sender: thekid@thekid.de X-Host-Fingerprint: 212.227.126.183 moutng.kundenserver.de Received: from [212.227.126.183] ([212.227.126.183:55690] helo=moutng.kundenserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/40-06353-0D3B4A84 for ; Thu, 14 Aug 2008 18:38:10 -0400 Received: from kartofel (krlh-5d8569e4.pool.einsundeins.de [93.133.105.228]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1KTlSI0hzI-0008P4; Fri, 15 Aug 2008 00:38:06 +0200 Message-ID: <01d401c8fe5e$6bc9d730$16b2a8c0@kartofel> To: Date: Fri, 15 Aug 2008 00:38:06 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_01D1_01C8FE6F.2ED253A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Provags-ID: V01U2FsdGVkX1/REl+wM1MU8xypYFEdkC6bmgFENAQRDHDeMPq PY8kstnpH/cJUUflM03jBD0qb4JVxo8fC/L1BUb9171VVz8YGs F3d7CcSF+tLtcUsj2n47Q== Subject: __getStatic From: thekid@thekid.de ("Timm Friebe") ------=_NextPart_000_01D1_01C8FE6F.2ED253A0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Hi, on the member side, there is __get, __set, __isset and __unset - on the method side, there is __call (and now: __callstatic). I was wondering why there was no __getstatic and friends, but failed to find a reason. Attached you'll find an incomplete patch against PHP_5_3 to add this functionality. If you like it let me know and I can finish it. - Timm ------=_NextPart_000_01D1_01C8FE6F.2ED253A0--