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

From: Date: Wed, 07 Feb 2001 05:08:01 +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-45927@lists.php.net to get a copy of this message
ID: 9140 User Update by: kbertone@bigfoot.com Old-Status: Feedback Status: Open Bug Type: MySQL related Description: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes Thanks for quick response. No, can't upgrade (running on web hosting service). Previous Comments: --------------------------------------------------------------------------- [2001-02-07 00:04:40] cynic@php.net cannot reproduce it with yesterday CVS snapshot. can you upgrade? try 4.0.4 pl1 or http://snaps.php.net/ --------------------------------------------------------------------------- [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? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9140

« previous php.dev (#45927) next »