ID:               15828
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Output Control
 Operating System: WindowsXP Pro
 PHP Version:      4.1.1
 New Comment:

RTFM! trim() returns the trimmed string.
$foo = trim($foo) and not trim($foo)


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

[2002-03-02 03:09:45] [EMAIL PROTECTED]

This is using php4isapi.dll

$var = '   content   ';
trim($var);
echo "->".$var."<-";
echo "->$var<-";

Output:
 -> content <-
 -> content <-

leaves 1 whitespace at the beginning and at the end.



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


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

Reply via email to