mysql_fetch_object returns MYSQL_BOTH-type result set

From: Date: Sat, 13 Jan 2001 16:10:03 +0000
Subject: mysql_fetch_object returns MYSQL_BOTH-type result set
Groups: php.dev 
Request: Send a blank email to php-dev+get-43983@lists.php.net to get a copy of this message
This is bug #8656, and should be really easy to fix. As far as I can see, all that is needed to fix it is to change a single call in ext/mysql/php_mysql.c: - php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); + php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQL_ASSOC); The way it is now the resulting object is basically non-PHP, because it has member variables with numeric names.

« previous php.dev (#43983) next »