ID: 13352 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.0.6 New Comment: The documentation states: Note: The second parameter was added in PHP 4.0.7 Previous Comments: ------------------------------------------------------------------------ [2001-09-17 16:24:19] [EMAIL PROTECTED] Verified to work with latest CVS. 4.0.6 had no support for second paramter so I might guess your version number is wrong in the report. Please also test with CVS. - Markus ------------------------------------------------------------------------ [2001-09-17 16:02:50] [EMAIL PROTECTED] <?php echo rtrim('foo bar ', ' '); ?> if you specify a character class as the second argument (like the documentation states is legal), you get returned nothing at all. a quick look at string.c seems to indicate no evidence of this ever working, is the code wrong, or the documentation? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13352&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]