Re: Losing values with array_walk...
| From: | Burhan Khalid | Date: | Fri, 11 Apr 2003 06:19:01 +0000 |
| Subject: | Re: Losing values with array_walk... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143455@lists.php.net to get a copy of this message | ||
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.