php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9854 Empty strings get returned as single spaces
Submitted: 2001-03-19 23:42 UTC Modified: 2001-06-30 15:26 UTC
From: ron dot baldwin at sourceprose dot com Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.4pl1 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-03-19 23:42 UTC] ron dot baldwin at sourceprose dot com
mssql_fetch_array (and mssql_fetch_row) return a single space for columns that contain an empty string (as opposed to columns that contain NULL).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-19 23:45 UTC] ron dot baldwin at sourceprose dot com
Add'l info:

Web Server:
   Win2000 Server SP1
   IIS 5.0
   PHP 4.0.4pl1

Database Server:
   WinNT SP6
   MSSQL 7.0
 [2001-06-30 15:26 UTC] fmk@php.net
Handling of NULL columns is fixed in php 4.0.6
 [2003-12-12 17:46 UTC] mmoscz at rheims dot com dot br
I having use PHP 4.3.4 for windows and MSSQL 2000 Personal edition, but I find this bug.
 [2003-12-25 15:29 UTC] magnus dot t at mail dot com
This problem has resurfaced in 4.3.4 (4.3.3 and earlier works fine)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC