ID:          26489
 Updated by:  [EMAIL PROTECTED]
 Reported By: messju at lammfellpuschen dot de
-Status:      Open
+Status:      Closed
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


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

[2003-12-01 13:03:55] messju at lammfellpuschen dot de

Description:
------------
it's really just a very little thing: 
 
the first note on http://php.dpnet/manual/en/
function.file.php says: 
 
"Note: Each line in the resulting array will include the 
line ending, so you still need to use trim() if you do not 
want the line ending present." 
 
of course rtrim() should be used to only get rid the line 
endings not trim(). 



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


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

Reply via email to