Bug #11628 Updated: odbc_fetch_into is broken

From: Date: Wed, 27 Jun 2001 14:10:48 +0000
Subject: Bug #11628 Updated: odbc_fetch_into is broken
Groups: php.dev 
Request: Send a blank email to php-dev+get-58214@lists.php.net to get a copy of this message
ID: 11628 Updated by: kalowsky Reported By: charles@invis.net Old-Status: Open Status: Closed Bug Type: ODBC related Operating system: PHP Version: 4.0.6 Assigned To: Comments: it is not broken. this functionality was changed to remove the need for the final variable to be a reference. unfortunately due to the nature of the function, the final variable is ALWAYS required to be a reference. this functionality will change in 4.1 to better reflect a more intelligent ordering of the variables and will allow your first example to work. Previous Comments: --------------------------------------------------------------------------- [2001-06-23 14:42:50] sniper@php.net correct version. --------------------------------------------------------------------------- [2001-06-23 08:43:18] charles@invis.net this is for 4.0.6, but there's no option for that yet.... 4.0.5 works fine. easiest to describe this by example: odbc_fetch_into($qid,1,$row); gives Fatal error: Only variables can be passed by reference in <script> on line <line> $i=1; odbc_fetch_into($qid,$i,$row); works perfectly. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11628&edit=2

« previous php.dev (#58214) next »