From:             [EMAIL PROTECTED]
Operating system: WindowsXP Pro 
PHP version:      4.1.1
PHP Bug Type:     Output Control
Bug description:  Trim() leaving 1 begining/ending whitespace

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 bug report at http://bugs.php.net/?id=15828&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15828&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15828&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15828&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15828&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15828&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15828&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15828&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15828&r=submittedtwice

Reply via email to