Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15284 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72069 invoked by uid 1010); 6 Mar 2005 12:50:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72054 invoked from network); 6 Mar 2005 12:50:18 -0000 Received: from unknown (HELO zend.com) (127.0.0.1) by localhost with SMTP; 6 Mar 2005 12:50:18 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:41412] helo=mail.zend.com) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 7D/F4-29225-88CFA224 for ; Sun, 06 Mar 2005 07:50:17 -0500 Received: (qmail 32085 invoked from network); 6 Mar 2005 12:50:13 -0000 Received: from localhost (HELO zeev-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 6 Mar 2005 12:50:13 -0000 Message-ID: <5.1.0.14.2.20050306143908.0ae67ec0@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 06 Mar 2005 14:50:12 +0200 To: Timm Friebe Cc: internals In-Reply-To: <1110108362.335.19.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] (s|g)etStaticPropertyValue From: zeev@zend.com (Zeev Suraski) References: <1110108362.335.19.camel@localhost> At 13:26 06/03/2005, Timm Friebe wrote: >Hello, >I saw there are two new ReflectionClass methods: > > * getStaticPropertyValue() > * getStaticPropertyValue() > >How do these differ (excepting being one method call) from: > > $value= $reflectionClass->getProperty('instance')->getValue(); > >and > > $reflectionClass->getProperty('instance')->setValue($value); > >? > >Instead of adding all kinds of feature bloat to the Reflection API, >couldn't this be left to people who extend it? I very much agree. Zeev