Re: Adding a more logical string slicing function to PHP
| From: | Richard Quadling | Date: | Fri, 01 Apr 2011 09:09:13 +0000 |
| Subject: | Re: Adding a more logical string slicing function to PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51783@lists.php.net to get a copy of this message | ||
On 31 March 2011 17:50, Philip Olson <philip@roshambo.org> 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 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.
>
> 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
Am I right in thinking pman and man is not for windows ... hmmm.
Sounds like half a job to me!
--
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!