Re: Losing values with array_walk...
| From: | Per Lundkvist | Date: | Fri, 11 Apr 2003 06:33:04 +0000 |
| Subject: | Re: Losing values with array_walk... | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143457@lists.php.net to get a copy of this message | ||
Oh, sorry NO IT WORKED! You had right!
Thank you!
Per
"Burhan Khalid" <phplist@meidomus.com> wrote in message
news:1050041940.5168.34.camel@Orgasmatron...
> On Fri, 2003-04-11 at 00:47, Per Lundkvist wrote:
> > Well that is what I do?! The & sign in front of $aArrayToBuild :
> >
> >
> > function setAnArray($oValue,$key,&$aArrayToBuild){
> > ...
> > }
> >
> array_walk($this->aAllUsers, array($this,"setAnArray"), &$this->aUsers);
>
> That's what I meant
> --
> Burhan Khalid
> phplist[at]meidomus[dot]com
>
> Please add a reply-to: header
> in your messages that points
> to the mailing list address
> so that all mail is properly
> archived and viewed.
>