[PHP] rtrim bug?

2001-09-17 Thread Kevin Way

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]




[PHP] Re: PHP module unloadable

2001-09-11 Thread Kevin Way

 I think uncompress may be in zlib, which you said not to use...

DOH!  Yeah, that was the problem... I 

Embarassed,
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]