Andi Gutmans writes:
> At 12:44 PM 3/29/2001 -0800, Lars Torben Wilson wrote:
>
> >Slightly different topic--is it a problem that call-time pass-by-ref
> >is being deprecated but several functions require it in order to work?
>
> It is possible. Functions which require their argument by reference should
> ask for it to be sent by reference and not expect the calling person to
> write foo(&$bar). The BY_REF_ALLOW is a remainder of PHP 3 and is obsolete
> with today's reference counting (I'm pretty sure about this but I just woke
> up so I might be saying BS :).
>
> Andi
OK, thanks. I keep getting bitten by functions which don't work
without calling them like foo(&$bar), but PHP complains about
that. 'Course I can always tell PHP to cope with it in php.ini, but
that seems more like ignoring the problem than fixing it. :)
Thanks for all the info,
Torben
--
+----------------------------------------------------------------+
|Torben Wilson <[EMAIL PROTECTED]> Adcore Finland|
|http://www.coastnet.com/~torben http://www.adcore.com|
|Ph: 1.604.709.0506 [EMAIL PROTECTED]|
+----------------------------------------------------------------+
--
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]