Re: string
| From: | Daniel Brown | Date: | Mon, 07 Apr 2008 14:46:15 +0000 |
| Subject: | Re: string | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272635@lists.php.net to get a copy of this message | ||
On Mon, Apr 7, 2008 at 10:42 AM, Jim Lucas <lists@cmsws.com> wrote:
>
> I wonder if using strstr() with strtolower() would be faster or slower.
[snip=code]
>
> Results:
> Attempt #1
> 0.015728950500488
> 0.022881031036377
[snip!]
While I don't really care much for a single selection about the
difference of less than 7/1,000's of one second, that's still good
information to keep in mind - especially when dealing with large-scale
sites. Nice work, Jim.
--
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!