Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Doug Miller Newsgroups: comp.lang.php Subject: Re: What is the purpose of "&" in this code? Date: Sun, 15 Jun 2014 01:25:52 +0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: References: Injection-Date: Sun, 15 Jun 2014 01:25:52 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="5db306c38675df2e8414a2b6b4fef7be"; logging-data="1248"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mE57ZtbeKePFJvOPynmPd" User-Agent: Xnews/2006.08.24 Cancel-Lock: sha1:ged5HJmXvNadaOxJaYQJpM1HAwI= Xref: csiph.com comp.lang.php:13854 richard wrote in news:tvhj7dle16f3$.ro2c41zfpmyn.dlg@40tude.net: > > foreach($master as &$ma) > $tmp[] = &$ma["date"]; > array_multisort($tmp, $master); > foreach($master as &$ma) > echo $ma["date"]."
"; > RTFM, RtS.