#27714 [Fbk->Opn]: Error returning empty string

From: Date: Mon, 29 Mar 2004 09:52:46 +0000
Subject: #27714 [Fbk->Opn]: Error returning empty string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57006@lists.php.net to get a copy of this message
ID: 27714 User updated by: vovik at getart dot ru Reported By: vovik at getart dot ru -Status: Feedback +Status: Open Bug Type: MSSQL related Operating System: Windows PHP Version: 4.3.4 New Comment: I've tried php4-win32-STABLE-200403281630 and got the same result. Previous Comments: ------------------------------------------------------------------------ [2004-03-26 11:05:11] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2004-03-26 08:59:02] vovik at getart dot ru Description: ------------ The code below makes it clear enough Reproduce code: --------------- mssql_connect("localhost", "sa", ""); list($tmp) = mssql_fetch_row(mssql_query("SELECT ''")); var_dump($tmp); Expected result: ---------------- string(0) "" Actual result: -------------- string(1) " " ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27714&edit=1

« previous php.bugs (#57006) next »