Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51772 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12003 invoked from network); 31 Mar 2011 15:52:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2011 15:52:56 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.214.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:47999] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/B7-04048-753A49D4 for ; Thu, 31 Mar 2011 10:52:56 -0500 Received: by iwn3 with SMTP id 3so2871709iwn.29 for ; Thu, 31 Mar 2011 08:52:53 -0700 (PDT) Received: by 10.43.60.138 with SMTP id ws10mr3407492icb.301.1301586773112; Thu, 31 Mar 2011 08:52:53 -0700 (PDT) Received: from [192.168.200.140] (c-76-126-236-132.hsd1.ca.comcast.net [76.126.236.132]) by mx.google.com with ESMTPS id 8sm821093iba.55.2011.03.31.08.52.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 08:52:51 -0700 (PDT) Message-ID: <4D94A350.70201@lerdorf.com> Date: Thu, 31 Mar 2011 08:52:48 -0700 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: Philip Olson CC: Brian Moon , Martin Scotta , Martin Jansen , Dan Birken , internals@lists.php.net References: <4D92CC38.5040900@toolpark.com> <004301cbeee8$e54a8280$afdf8780$@com> <4D9387BE.4030808@divbyzero.net> <4D94984D.8060700@lerdorf.com> <4D94A111.7050501@moonspot.net> <520FB834-2614-4873-AC3B-0B2594B18471@roshambo.org> In-Reply-To: <520FB834-2614-4873-AC3B-0B2594B18471@roshambo.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Adding a more logical string slicing function to PHP From: rasmus@lerdorf.com (Rasmus Lerdorf) On 03/31/2011 08:45 AM, Philip Olson wrote: > - Intuitive name Argh! Everyone should be forced to learn a bit of C. Like many PHP functions, the name and argument order is right out of libc. If you type "man strstr" at your (non-Windows) prompt you get a nice little description of what it does. -Rasmus