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

From: Date: Wed, 07 Feb 2001 05:10:07 +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-45928@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: well then, what about mysql_fetch_assoc()? Previous Comments: --------------------------------------------------------------------------- [2001-02-07 00:08:01] kbertone@bigfoot.com Thanks for quick response. No, can't upgrade (running on web hosting service). --------------------------------------------------------------------------- [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? --------------------------------------------------------------------------- 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 (#45928) next »