FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » What is the purpose of "&" in this code?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: What is the purpose of "&" in this code? [message #186116 is a reply to message #186110] Sun, 15 June 2014 01:25 Go to previous message
Doug Miller is currently offline  Doug Miller
Messages: 171
Registered: August 2011
Karma:
Senior Member
richard <noreply(at)example(dot)com> wrote in news:tvhj7dle16f3$(dot)ro2c41zfpmyn(dot)dlg(at)40tude(dot)net:

>
> foreach($master as &$ma)
> $tmp[] = &$ma["date"];
> array_multisort($tmp, $master);
> foreach($master as &$ma)
> echo $ma["date"]."<br/>";
>

RTFM, RtS.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: function for preserving special characters?
Next Topic: How to loop through the dates?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 23:59:39 GMT 2024

Total time taken to generate the page: 0.05030 seconds