Re: consistent PHP function names?
| From: | Raquel Rice | Date: | Mon, 22 Sep 2003 16:04:30 +0000 |
| Subject: | Re: consistent PHP function names? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163491@lists.php.net to get a copy of this message | ||
On Mon, 22 Sep 2003 03:44:45 -0500
Eugene Lee <list-php@fsck.net> wrote:
> On Sun, Sep 21, 2003 at 09:10:16AM -0700, Raquel Rice wrote:
> :
> : On Wed, 17 Sep 2003 21:22:36 +1000
> : Justin French <justin@indent.com.au> wrote:
> :
> : > I posted a similar topic a few months back. I guess the
> answer is: > that the collaborative nature of open source, and the
> fact that: > PHP has grown from very humble beginnings has meant
> that naming: > standards and conventions are a little lacking.
> : >
> : > It would've been nice if these issues were rectified in PHP5
> with : > deprecated aliases to the old names left in for backwards
>
> : > compatibility, but it'd be a HUGE job :)
> :
> : I suppose that if this really bothers someone, they could create
> : their own aliases.
> :
> : function decodehtmlentities($string, $quote_style, $charset) {
> : return html_entity_decode($string, $quote_style, $charset);
> : }
>
> That's simply an additional function call, which slows things down
> just a little more. But it's probably still faster than object
> methods. :-)
>
> --
I didn't say that it was an efficient solution, only that it was a
solution for someone who required certain "standards and
conventions".
--
Raquel
============================================================
It is no use saying, 'We are doing our best.' You have got to
succeed in doing what is necessary.
--Winston Churchill