Re: PHP 6.0 Wishlist

From: Date: Sun, 14 Aug 2005 00:55:02 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18011@lists.php.net to get a copy of this message
On Sat, 13 Aug 2005, Marco Tabini wrote:
Or maybe so that you don't have to look at the manual fifteen times a minute so that you can remember whether the needle goes before the haystack in a particular function or not.
    I'm all for making this consistent all around.
    Best way to get this done is propably to first come up
    with a list of functions which are inconsistent?
    And get a concensus over it. :)
    This is the first one that comes to my mind:
      int strpos (string haystack, mixed needle [, int offset])
    Whenever I've used that, I've ALWAYS mixed the needle with haystack.
    Same goes with every str* function, I guess..
    --Jani


« previous php.internals (#18011) next »