#27714 [NEW]: Error returning empty string

From: Date: Fri, 26 Mar 2004 13:59:02 +0000
Subject: #27714 [NEW]: Error returning empty string
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56870@lists.php.net to get a copy of this message
From: vovik at getart dot ru Operating system: Windows PHP version: 4.3.4 PHP Bug Type: MSSQL related Bug description: Error returning empty string 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 bug report at http://bugs.php.net/?id=27714&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27714&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27714&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27714&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27714&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27714&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27714&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27714&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27714&r=support Expected behavior: http://bugs.php.net/fix.php?id=27714&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27714&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27714&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27714&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27714&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27714&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27714&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27714&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27714&r=float

« previous php.bugs (#56870) next »