[dev] Re: Passing anonymous arrays by reference
Jan Schneider
jan at horde.org
Fri Mar 25 03:01:21 PST 2005
Zitat von Chuck Hagenbuch <chuck at horde.org>:
> Quoting John Morrissey <jwm at horde.net>:
>
>> I was working with FRAMEWORK_3 today and noticed that black/whitelisting
>> individual messages didn't work because message.php is passing an anonymous
>> array to IMP_Filter. I gather there isn't any way to pass anonymous arrays
>> by reference; it this patch OK?
>
> The patch is fine, but looking at the code, I don't see any reason for
> that array to be passed by reference - can anyone else?
No. IMP::parseIndicesList() that is the final recipient of this array
doesn't take it by reference anyway.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list