Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6023 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98209 invoked by uid 1010); 2 Dec 2003 22:08:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98161 invoked from network); 2 Dec 2003 22:08:26 -0000 Received: from unknown (HELO bambi.bitflux.ch) (212.71.97.156) by pb1.pair.com with SMTP; 2 Dec 2003 22:08:26 -0000 Received: from localhost (reh [127.0.0.1]) by bambi.bitflux.ch (Postfix) with ESMTP id 4AF037F869; Tue, 2 Dec 2003 23:08:26 +0100 (CET) Received: from bambi.bitflux.ch ([127.0.0.1]) by localhost (bambi [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15578-01; Tue, 2 Dec 2003 23:08:26 +0100 (CET) Received: from bitflux.ch (dclient217-162-237-29.hispeed.ch [217.162.237.29]) by bambi.bitflux.ch (Postfix) with ESMTP id B56347F868; Tue, 2 Dec 2003 23:08:25 +0100 (CET) Message-ID: <3FCD0D59.30705@bitflux.ch> Date: Tue, 02 Dec 2003 23:08:25 +0100 User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam Maccabee Trachtenberg Cc: George Schlossnagle , Sebastian Bergmann , internals@lists.php.net References: <34245E0A-24F1-11D8-A17A-000393B2B3C0@omniti.com> <44B57A25-24F7-11D8-A17A-000393B2B3C0@omniti.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p3 (Debian) at bitflux.ch X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) Subject: Re: [PHP-DEV] reflection api -> camelcaps From: chregu@bitflux.ch (Christian Stocker) On 12/2/03 7:51 PM, Adam Maccabee Trachtenberg wrote: > On Tue, 2 Dec 2003, George Schlossnagle wrote: > > >>On Dec 2, 2003, at 1:22 PM, Sebastian Bergmann wrote: >> >> >>>George Schlossnagle wrote: >>> >>>>I'd like to convert the reflection API to the current php standard of >>>>CamelCaps (instead of underscores) for it's class and method names. >>> >>> Why deviate from PEAR CS in this? >> >>Well, as the classes are builtin's it's not so clear to me that the >>packag naming rules apply directly. But this is a sound objection. > > > This raises my question of my the new Exception class uses CamelCaps instead > of underscores? > > For instance, its methods are: getMessage(), getCode(), etc. > > I don't think any other built-in method or packaged extension does this. ext/dom and ext/xsl use camelCaps as well chregu > > -adam > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB