ID:               46061
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ddrplayer at foxmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *Directory/Filesystem functions
 Operating System: Linux
 PHP Version:      5.2CVS-2008-09-12 (snap)
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The second argument expects a char list.


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

[2008-09-12 04:03:55] ddrplayer at foxmail dot com

Description:
------------
hi ,
first of all
sorry for my bad english

but trim could not work as expected
i run the program in 5.14,5.25 ,it could not work as expected.


Reproduce code:
---------------
<?php
$stringendingtag='<ending>';
$s='hello world <abc><ending>';
echo trim($s,'<ending>');
?>

Expected result:
----------------
hello world <abc>


Actual result:
--------------
hello world <abc


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


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

Reply via email to