Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39128 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30942 invoked from network); 21 Jul 2008 14:47:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2008 14:47:45 -0000 Authentication-Results: pb1.pair.com header.from=brianm@dealnews.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=brianm@dealnews.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain dealnews.com designates 72.5.90.27 as permitted sender) X-PHP-List-Original-Sender: brianm@dealnews.com X-Host-Fingerprint: 72.5.90.27 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from [72.5.90.27] ([72.5.90.27:39109] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/AF-37768-191A4884 for ; Mon, 21 Jul 2008 10:47:45 -0400 Received: (qmail 16412 invoked from network); 21 Jul 2008 14:47:42 -0000 Received: from unknown (HELO mail.dealnews.com) (10.1.10.7) by -H with ESMTPS (DHE-RSA-AES256-SHA encrypted); 21 Jul 2008 14:47:42 -0000 Received: (qmail 11152 invoked from network); 21 Jul 2008 14:47:42 -0000 Received: from h105.248.18.98.static.ip.windstream.net (HELO 100.100.1.10.in-addr.arpa) (brianm@98.18.248.105) by -H with ESMTPA; 21 Jul 2008 14:47:42 -0000 Message-ID: <4884A18D.7090104@dealnews.com> Date: Mon, 21 Jul 2008 09:47:41 -0500 User-Agent: Thunderbird/3.0a2pre (Macintosh; 2008071703) MIME-Version: 1.0 To: Stan Vassilev | FM CC: internals References: <1216514217.11114.6.camel@localhost> <488295AC.3000107@lerdorf.com> <13F3C3E0FB864C919A2048D507EDB9B9@pc> <48834C31.80806@lerdorf.com> <3025CCBD79414CB2BC9BE1ED3132568C@pc> In-Reply-To: <3025CCBD79414CB2BC9BE1ED3132568C@pc> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] New string functions: str_startswith() and str_endswith() From: brianm@dealnews.com (Brian Moon) Stan Vassilev | FM wrote: > I'm particularly for begins/endswith() function as I do this all over my > code and I'd appreciate the simplification and free extra performance. I really don't mean to be rude here, but shorter and less typing !== performance gain. The PHP string functions are very fast. And if you are looking to improve your applications performance by using different string functions, you are likely looking in the wrong place. -- Brian Moon Senior Web Engineer ------------------------------ When you care enough to spend the very least. http://dealnews.com/