Re: reflection api -> camelcaps
| From: | Christian Stocker | Date: | Tue, 02 Dec 2003 22:08:25 +0000 |
| Subject: | Re: reflection api -> camelcaps | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6023@lists.php.net to get a copy of this message | ||
On 12/2/03 7:51 PM, Adam Maccabee Trachtenberg wrote:
On Tue, 2 Dec 2003, George Schlossnagle wrote:ext/dom and ext/xsl use camelCaps as well chreguOn Dec 2, 2003, at 1:22 PM, Sebastian Bergmann wrote: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.George Schlossnagle wrote: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.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?
-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