On 16 October 2003 13:48, Antony Dovgal wrote:

> Hi
> 
> ocibindbyname() example says, that this syntax should be used: ...
> OCIBindByName($stmt,":empno",&$empno,32);
> etc. etc.
> ...
> But it's time to mention, that to use &$empno here you MUST
> set allow_call_time_pass_reference to true in your php.ini.
> And/or maybe it would be better just to rewrite this example, using
> proper syntax.

Yes, I'd definitely go for the latter -- the & is absolutely not needed
here, since ocibindbyname() is defined as accepting that parameter by
reference.

>  Somebody with enough karma - please fix it.

I would if I could, but I don't currently have php-doc karma.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

Reply via email to