Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21913 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42970 invoked by uid 1010); 18 Feb 2006 17:26:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42955 invoked from network); 18 Feb 2006 17:26:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2006 17:26:53 -0000 X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from ([80.91.229.2:44070] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 20/B2-23065-BD857F34 for ; Sat, 18 Feb 2006 12:26:51 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FAVqz-0003F3-6I for internals@lists.php.net; Sat, 18 Feb 2006 18:26:41 +0100 Received: from p50887d9d.dip.t-dialin.net ([80.136.125.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Feb 2006 18:26:41 +0100 Received: from sb by p50887d9d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Feb 2006 18:26:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Sat, 18 Feb 2006 18:26:25 +0100 Lines: 12 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p50887d9d.dip.t-dialin.net User-Agent: Thunderbird 1.5 (Windows/20051201) Sender: news Subject: Inconsistency in Reflection API From: sb@sebastian-bergmann.de (Sebastian Bergmann) Last night I noticed an inconsistency in the Reflection API, namely ReflectionParameter::getClass() vs. ReflectionMethod::getDeclaringClass() and ReflectionProperty::getDeclaringClass() I think we should use either getClass() or getDeclaringClass() consistently (I prefer getClass()). -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69