Date: 09/29/00
- Next message: Mark Newnham: "[PHP-DB] Oracle 8 performance"
- Previous message: John Guynn: "RE: [PHP-DB] 2 selects that return 0 rows one errors one doesn't"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I have been having a few 'problems' binding variables for using cursors
within php4 using the OCI8 functionality.
When I pass the variables by reference I am getting the message
+ACI-Warning: Call-time pass-by-reference has been deprecated - argument passed
by value+ADs- If you would like to pass it by reference, modify the declaration
of ocibindbyname(). If you would like to enable call-time pass-by-reference,
you can set allow+AF8-call+AF8-time+AF8-pass+AF8-reference to true in your INI file.
However, future versions may not support this any longer.+ACI-
It's the thought of rewriting php's OCI8 functionality that worries me.
Presumably there is good reason for the deprecation of pass-by-reference.
Can someone explain to me the reasoning behind this move and the
alternatives to passing variables by reference. (I realise I can pass by
value but I know of no languages that bar variable pass-by-reference.
Although I don't know that many languages
Tim Parkin
Web Development Manager
Didio, Leeds UK
- Next message: Mark Newnham: "[PHP-DB] Oracle 8 performance"
- Previous message: John Guynn: "RE: [PHP-DB] 2 selects that return 0 rows one errors one doesn't"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

