#9854 [Com]: Empty strings get returned as single spaces

From: Date: Thu, 25 Dec 2003 20:29:16 +0000
Subject: #9854 [Com]: Empty strings get returned as single spaces
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52493@lists.php.net to get a copy of this message
 ID:               9854
 Comment by:       magnus dot t at mail dot com
 Reported By:      ron dot baldwin at sourceprose dot com
 Status:           Closed
 Bug Type:         MSSQL related
 Operating System: Windows 2000
 PHP Version:      4.0.4pl1
 New Comment:

This problem has resurfaced in 4.3.4 (4.3.3 and earlier works fine)


Previous Comments:
------------------------------------------------------------------------

[2003-12-12 17:46:38] 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.

------------------------------------------------------------------------

[2001-06-30 15:26:12] fmk@php.net

Handling of NULL columns is fixed in php 4.0.6

------------------------------------------------------------------------

[2001-03-19 23:45:28] 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-03-19 23:42:49] 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).

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=9854&edit=1


Thread (1 message)

  • magnus dot t at mail dot com
  • Unknown Message
    • magnus dot t at mail dot com
« previous php.bugs (#52493) next »