Bug #11705: Behavior of odbc_fetch_into function changed between 4.0.5 and 4.0.6

From: Date: Tue, 26 Jun 2001 17:55:20 +0000
Subject: Bug #11705: Behavior of odbc_fetch_into function changed between 4.0.5 and 4.0.6
Groups: php.dev 
Request: Send a blank email to php-dev+get-58095@lists.php.net to get a copy of this message
From: doc@vulcanmicro.com Operating system: Probably any, my test on Solaris 8 PHP version: 4.0.6 PHP Bug Type: ODBC related Bug description: Behavior of odbc_fetch_into function changed between 4.0.5 and 4.0.6 Going from php 4.0.5 to php 4.0.6, the following syntax nolonger works: odbc_fetch_into($result,$start-1,&$fields); In 4.0.5 it works, in 4.0.6 it produces this error: Only variables can be passed by reference The following lines DO work however: $tmp=$start-1; odbc_fetch_into($result,$tmp,&$fields); Configure line: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-apxs=/opt/apache/sbin/apxs --enable-track-vars --enable-calendar --with-gdbm --enable-filepro --enable-dbase --enable-ftp --with-imap --with-java=/usr/java1.1 --with-ldap=/usr/src/openldap-1.2.9 --with-ibm-db2=/opt/IBMdb2/V7.1 --enable-trans-sid --with-mysql --enable-sysvshm --enable-sysvsem --with-mcal=/usr --with-ming --with-openssl --with-gd --with-pdflib --with-jpeg-dir=/opt/sfw --with-png-dir=/opt/sfw --with-zlib -- Edit Bug report at: http://bugs.php.net/?id=11705&edit=1

« previous php.dev (#58095) next »