ID: 11669
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: ODBC related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
as of PHP 4 we're (PHP group) trying to end using
variables. this was changed in 4.0.5, but I guess got
moved out due to its rather LONG RC cycle. sorry about
that.
you no longer need to use a reference for this function
though. guess it's time to update the documentation too.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-26 04:30:10] [EMAIL PROTECTED]
$sql="select RSVUKZ,RSVERKB,RSVERKN from $db2_dsn.$db2_database.$db2_akz where
$oid=odbc_exec($dbid,$sql);
for ($i=0;$i<$num_rows;$i++) {
odbc_fetch_into($oid,$i+1,&$erg);
^
+--- Error
}
---------------------------------------------------------------------------
[2001-06-26 02:52:00] [EMAIL PROTECTED]
Please add the smallest possible script which reproduces this behaviour to this
bugreport.
---------------------------------------------------------------------------
[2001-06-25 11:15:28] [EMAIL PROTECTED]
Hello,
i tried php-4.0.6 and the following bug accured:
Fatal error: Only variables can be passed by reference in
/usr/local/httpd/htdocs/kennzeichensuche.php on line 98
The code is correct and works with 4.0.4pl1 and 4.0.5
thanks
Stefan Dreyer
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11669&edit=2
--
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]