Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:164 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25427 invoked from network); 23 Mar 2003 02:33:57 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 23 Mar 2003 02:33:57 -0000 Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51]) by jdi.jdimedia.nl (8.12.4/8.12.4) with ESMTP id h2N2XiLT015203; Sun, 23 Mar 2003 03:33:46 +0100 Date: Sun, 23 Mar 2003 03:33:44 +0100 (CET) X-X-Sender: derick@jdi.jdimedia.nl To: Sterling Hughes cc: Moriyoshi Koizumi , internals@lists.php.net In-Reply-To: <1048376595.847.1158.camel@hasele> Message-ID: References: <1048367260.848.1147.camel@hasele> <20030323090240my5O%!@at.wakwak.com> <1048376595.847.1158.camel@hasele> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] default exceptions, interfaces, etc. From: derick@php.net (Derick Rethans) On Sun, 22 Mar 2003, Sterling Hughes wrote: > On Sat, 2003-03-22 at 19:02, Moriyoshi Koizumi wrote: > > Hi, > > > > As per naming convention, I think it'd be nice if the methods were > > named as: > > > > getmessage => get_message > > getcode => get_code > > > > If those are corrected, +1 for this feature. > > > > I was thinking of that - I would personally prefer get_message() and > get_code() naming, but that goes against pear's naming conventions, and > I want this to integrate well with pear (as a base class.) It's a PHP function, not PEAR code, so it should follow the PHP naming style. Derick -- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------