From: [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]