Re: Draft for bug-report-text addressing getclass()-problems
| From: | Stefan Neufeind | Date: | Tue, 17 Feb 2004 16:13:34 +0000 |
| Subject: | Re: Draft for bug-report-text addressing getclass()-problems | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-575@lists.php.net to get a copy of this message | ||
On 17 Feb 2004 at 17:07, Stefan Walk wrote:
> On Tue, Feb 17, 2004 at 05:01:46PM +0100, Stefan Neufeind wrote:
> > if (strcasecmp($a, 'db') == 0) {
>
> Just an unimportant side note - i think most people prefer !str*cmp()
> instead of comparing it to 0, as it's shorter and faster, and is a
> common acronym in C.
Though I haven't used it myself that way, I surely see the benefit.
Okay, will take care.
Regards,
Stefan