I think it's time to stop thinking in terms of "functions" and move forward to "abstractions"
$s1 = 'string'; $s1->contains($s2); $s1->indexOf($s2) === strpos($s1, $s2); Why can't the strings be exposed as pseudo-objects ? users can choose to use them as a regular strings or by calling methods on it. Martin Scotta On Thu, Mar 31, 2011 at 12:52 PM, Rasmus Lerdorf <ras...@lerdorf.com> wrote: > On 03/31/2011 08:45 AM, Philip Olson wrote: > > > - Intuitive name > > 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. > > -Rasmus >