ID: 13070
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Strings related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
This seems to work with me (4.0.7):
<?php
var_dump(trim("abc\0"));
var_dump(rtrim("abc\0"));
?>
Please see www.php.net/support.php for support questions, and only resubmit if they
can't find the problem...
Previous Comments:
------------------------------------------------------------------------
[2001-08-30 21:42:48] [EMAIL PROTECTED]
trim() seems to work, but rtrim/chop don't appear to kill a null at the end of a
string variable.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13070&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]