#47087 [Asn->Csd]: Second parameter of mssql_fetch_array() is ignored

From: Date: Tue, 20 Jan 2009 20:03:22 +0000
Subject: #47087 [Asn->Csd]: Second parameter of mssql_fetch_array() is ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133082@lists.php.net to get a copy of this message
ID: 47087 Updated by: felipe@php.net Reported By: vrana@php.net -Status: Assigned +Status: Closed Bug Type: MSSQL related Operating System: Windows PHP Version: 5.3.0alpha3 Assigned To: kalle New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2009-01-13 13:29:06] kalle@php.net I'll have a look at it ------------------------------------------------------------------------ [2009-01-13 12:35:24] vrana@php.net Description: ------------ It seems that the result_type parameter of mssql_fetch_array() is always set to MSSQL_BOTH. Reproduce code: --------------- <?php print_r(mssql_fetch_array($result, MSSQL_ASSOC)); ?> Expected result: ---------------- Array ( [id] => 1 ) Actual result: -------------- Array ( [0] => 1 [id] => 1 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47087&edit=1

« previous php.bugs (#133082) next »