PHP 4.0 Bug #9140 Updated: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes

From: Date: Wed, 07 Feb 2001 05:04:40 +0000
Subject: PHP 4.0 Bug #9140 Updated: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes
Groups: php.dev 
Request: Send a blank email to php-dev+get-45926@lists.php.net to get a copy of this message
ID: 9140 Updated by: cynic Reported By: kbertone@bigfoot.com Old-Status: Open Status: Feedback Bug Type: MySQL related Assigned To: Comments: cannot reproduce it with yesterday CVS snapshot. can you upgrade? try 4.0.4 pl1 or http://snaps.php.net/ Previous Comments: --------------------------------------------------------------------------- [2001-02-07 00:02:06] kbertone@bigfoot.com mysql_fetch_array($query, MYSQL_ASSOC) seems to return BOTH the numerical AND the associative indexes (should only return associative). Have tried mysql_fetch_assoc($query) and I get the same problem. Running PHP 4.0.4 on both Unix and Windows and problem appears on both. Am I crazy? --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9140&edit=2

« previous php.dev (#45926) next »