ID:               30646
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbugs at localpin dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: N/A
 PHP Version:      4.3.9
 Assigned To:      mez
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.


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

[2004-11-01 10:56:55] phpbugs at localpin dot com

Description:
------------
The summary for rtrim only says "Strip whitespace from the end of a
string" whereas in fact the function can be used to strip any
character.  I suggest "Strip characters from the end of a string".  The
detailed description can make it clear that the default character is
whitespace.

The docs are particularly misleading on the summary page, where a user
looking for a function to strip a non-whitespace char would have to
guess that the documentation was not correct!  This is exactly what I
did.
http://be2.php.net/manual/en/ref.strings.php

Doc error occurs here also:
http://be2.php.net/manual/en/function.rtrim.php

Same case for ltrim.





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


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

Reply via email to