Re: consistent PHP function names?
| From: | Eugene Lee | Date: | Mon, 22 Sep 2003 08:44:45 +0000 |
| Subject: | Re: consistent PHP function names? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163436@lists.php.net to get a copy of this message | ||
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. :-)