Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51773 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13432 invoked from network); 31 Mar 2011 15:55:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2011 15:55:58 -0000 Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.37 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.37 mail-7.de-punkt.de Received: from [93.190.64.37] ([93.190.64.37:55478] helo=mail-7.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/08-04048-B04A49D4 for ; Thu, 31 Mar 2011 10:55:56 -0500 Received: (qmail 13888 invoked by uid 511); 31 Mar 2011 15:55:54 -0000 Received: by simscan 1.3.1 ppid: 13883, pid: 13886, t: 0.0325s scanners: attach: 1.4.0 Received: from unknown (HELO ?192.168.2.31?) (sb@sebastian-bergmann.de@91.55.54.153) by 0 with ESMTPA; 31 Mar 2011 15:55:54 -0000 Message-ID: <4D94A40B.4040005@php.net> Date: Thu, 31 Mar 2011 17:55:55 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: 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> <4D94A350.70201@lerdorf.com> In-Reply-To: <4D94A350.70201@lerdorf.com> X-Enigmail-Version: 1.1.1 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: sebastian@php.net (Sebastian Bergmann) Am 31.03.2011 17:52, schrieb Rasmus Lerdorf: > 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. And if you install pman you just do "pman strstr" and get PHP-specific documentation. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/