#27279 [NEW]: Database data not stripped - whitespace everywhere
| From: | webmaster at birkman dot com | Date: | Mon, 16 Feb 2004 14:40:22 +0000 |
| Subject: | #27279 [NEW]: Database data not stripped - whitespace everywhere | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-55001@lists.php.net to get a copy of this message | ||
From: webmaster at birkman dot com
Operating system: Linux 2.4 to MSSQL2000
PHP version: 4.3.4
PHP Bug Type: Sybase (dblib) related
Bug description: Database data not stripped - whitespace everywhere
Description:
------------
In looking at the ChangeLog, I don't see anything describing the behavior
I'm seeing. Most of the data returned from the database has whitespace at
the end, even bits and integers.
Has something changed requiring the use of trim() on every resultset
coming from a sybase database? Wouldn't a trim() operation in C be faster
than one in PHP?
This behavior occurs in PHP-4.3.4 but not in our production version of
PHP-4.3.2
Thanks,
David Steckbeck
--
Edit bug report at http://bugs.php.net/?id=27279&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27279&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27279&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27279&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27279&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27279&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27279&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27279&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27279&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27279&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27279&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27279&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27279&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27279&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27279&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27279&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27279&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27279&r=float