ID:          40243
 Updated by:  [EMAIL PROTECTED]
 Reported By: burg1 at gmx dot net
-Status:      Open
+Status:      Bogus
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

That is why the argument is called "charlist", 
not "wordlist".

If you do however have a rephrase is mind, please share.


Previous Comments:
------------------------------------------------------------------------

[2007-01-26 01:07:48] burg1 at gmx dot net

Description:
------------
Please clarify what the trim() functions actually do if the charlist
argument is present:

ltrim('deeds', 'ed');
returns:
's'

EACH single character in charlist is trimmed from the beginning of the
string, REPEATEDLY.

Please include this (or something similar) as a usage example in the
docs!

There are already 2 false bug reports filed from people who obviously
misunderstood how these functions work:
http://bugs.php.net/bug.php?id=35584
http://bugs.php.net/bug.php?id=22217

To figure this out just gave me an hour-long headache ;-)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40243&edit=1

Reply via email to