From: jabberwocky at ibplanet dot com
Operating system: Any
PHP version: 4.3.4
PHP Bug Type: MSSQL related
Bug description: Incorrect handling of Null Fields/Numerical Fields with '0'
Description:
------------
With the new MSSQL so-called "bugfix" there seem to be a lot of problems,
first of all, when accessing the DB, and retrieving a field that has a
null value in it, a single space (" ") is returned instead of a null
string.
This is also the case if you retrieve a numerical value of 0 - instead of
retrieving the number 0 - a single space (" ") is returned.
This has caused all sort of problems with the MSSQL Database Driver that I
am currently coding for Invision Power Board
(http://www.invisionboard.com/?mssqldriver)
Reproduce code:
---------------
Source Code available on request from PHP team by emailing
[EMAIL PROTECTED] (as this is a paid product)
--
Edit bug report at http://bugs.php.net/?id=26351&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26351&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26351&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26351&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26351&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26351&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26351&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26351&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26351&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26351&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26351&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26351&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26351&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26351&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26351&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26351&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26351&r=float