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'

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

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

Reproduce code:
Source Code available on request from PHP team by emailing
[email][/email] (as this is a paid product)

Edit bug report at [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]
Floating point limitations: [url][/url]