#22217 [NEW]: trim() and ltrim() don't like M

From: Date: Thu, 13 Feb 2003 23:14:17 +0000
Subject: #22217 [NEW]: trim() and ltrim() don't like M
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33107@lists.php.net to get a copy of this message
From: james@sumners.ath.cx Operating system: Debian GNU/Linux PHP version: 4.2.3 PHP Bug Type: Strings related Bug description: trim() and ltrim() don't like M I found what seems to be a bug with the trim functions, at least with trim() and ltrim(). I am working with some data like "NAME=First Last" where I have to trim off "NAME=". Every time a name occurs where the first name starts with an 'M' then the 'M' would be trimmed off. Any other character seems to be fine. -- Edit bug report at http://bugs.php.net/?id=22217&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22217&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22217&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22217&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22217&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22217&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22217&r=support Expected behavior: http://bugs.php.net/fix.php?id=22217&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22217&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22217&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22217&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22217&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22217&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22217&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22217&r=gnused

« previous php.bugs (#33107) next »