Re: Adding a more logical string slicing function to PHP

From: Date: Thu, 31 Mar 2011 16:50:25 +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  Groups: php.internals 
Request: Send a blank email to internals+get-51776@lists.php.net to get a copy of this message
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

« previous php.internals (#51776) next »