Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51776 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33240 invoked from network); 31 Mar 2011 16:50:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2011 16:50:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 74.125.83.42 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 74.125.83.42 mail-gw0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:45861] helo=mail-gw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/11-27840-BD0B49D4 for ; Thu, 31 Mar 2011 11:50:36 -0500 Received: by gwb17 with SMTP id 17so1205535gwb.29 for ; Thu, 31 Mar 2011 09:50:33 -0700 (PDT) Received: by 10.236.136.37 with SMTP id v25mr4167892yhi.214.1301590232192; Thu, 31 Mar 2011 09:50:32 -0700 (PDT) Received: from [172.20.10.2] ([166.205.9.148]) by mx.google.com with ESMTPS id 69sm656521yhl.3.2011.03.31.09.50.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 09:50:31 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4D94A40B.4040005@php.net> Date: Thu, 31 Mar 2011 10:50:25 -0600 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <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> To: Sebastian Bergmann X-Mailer: Apple Mail (2.1082) Subject: Re: [PHP-DEV] Adding a more logical string slicing function to PHP From: philip@roshambo.org (Philip Olson) 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 = type >> "man strstr" at your (non-Windows) prompt you get a nice little >> description of what it does. >=20 > 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 = discussion, using pman is a related topic which can be installed like = so: pear 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 = look into this. Oh, guess we should create a 'pman pman' too. Regards, Philip