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

From: Date: Mon, 29 Mar 2004 18:31:48 +0000
Subject: #27714 [Opn->Bgs]: Error returning empty string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57044@lists.php.net to get a copy of this message
ID: 27714 Updated by: iliaa@php.net Reported By: vovik at getart dot ru -Status: Open +Status: Bogus Bug Type: MSSQL related Operating System: Windows PHP Version: 4.3.4 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. This a duplicate of multiple reports on this very same issue. Search the bug archives. Previous Comments: ------------------------------------------------------------------------ [2004-03-29 04:52:46] vovik at getart dot ru I've tried php4-win32-STABLE-200403281630 and got the same result. ------------------------------------------------------------------------ [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 (#57044) next »