I'm getting some really unexpected rtrim behaviour, which I believe is a bug.
echo 'X' . rtrim('foo bar ') . 'X';
this gives 'Xfoo barX' as one would expect.
echo 'X' . rtrim('foo bar ', ' ') . 'X';
this gives 'XX' as the result.
i'm using php-4.0.6. Am I misunderstanding something horribly, or is this
a legitimate bug?
Kevin Way
--
PHP General 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]