Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51783 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68179 invoked from network); 1 Apr 2011 09:09:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2011 09:09:40 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:61123] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 78/99-28342-056959D4 for ; Fri, 01 Apr 2011 04:09:39 -0500 Received: by gyb11 with SMTP id 11so1532068gyb.29 for ; Fri, 01 Apr 2011 02:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=0kk3uK0dAQL7kZCno6S134762Mxhped+V4p2aoOVUtU=; b=w5gJjPONO9gfeYdvMp4oNpty2GIYchko49XR8GaK73HYFXYSsWUp1JRTZAvRNQRSkk kkZh7nV9xlMRfKocNzkBJzf/CGKOfSp/ITAphcccsvkzq9hMaIGfcJM2K99DYkZfKUVp I+fv8I0G8PMiA1Y8Gpm+FVTNB+hrFHtmoWGWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=rYmeKM/mwVQw5BqqEp9qqvKWTDXS3FPsxQu9hVYOyXS/xwrK+8SOVfuS1UtE3YnGEy KniMjP2PpNwGcIk0AULdPD1+FlaNm8g4X993FzJw9e40iuGqpWdMZ0+fSLpxpjnzwlKp ABSrJ20NHLdcreGw+u5rfwJSUjOKJZwj4GYPs= Received: by 10.101.142.21 with SMTP id u21mr615309ann.77.1301648973081; Fri, 01 Apr 2011 02:09:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.12.6 with HTTP; Fri, 1 Apr 2011 02:09:13 -0700 (PDT) Reply-To: RQuadling@googlemail.com In-Reply-To: <18DB8EF3-24E8-4E3C-91DB-C1A450772D99@roshambo.org> 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> <4D94A40B.4040005@php.net> <18DB8EF3-24E8-4E3C-91DB-C1A450772D99@roshambo.org> Date: Fri, 1 Apr 2011 10:09:13 +0100 Message-ID: To: Philip Olson Cc: Sebastian Bergmann , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Adding a more logical string slicing function to PHP From: rquadling@gmail.com (Richard Quadling) On 31 March 2011 17:50, Philip Olson wrote: > > On Mar 31, 2011, at 9:55 AM, Sebastian Bergmann wrote: > >> 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 typ= e >>> "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. > > Although I disagree that adding a C prerequisite to PHP ends this discuss= ion, using pman is a related topic which can be installed like so: > > =C2=A0pear install doc.php.net/pman > > Then, simply 'pman in_array' or similar will open local php man pages in = shell. However, the pman files have not been updated for awhile so we'll lo= ok into this. Oh, guess we should create a 'pman pman' too. > > Regards, > Philip Am I right in thinking pman and man is not for windows ... hmmm. Sounds like half a job to me! --=20 Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY P.S. It's TFI Friday and April 1st. Oh the joy!