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 #186112 is a reply to message #186110] Sat, 14 June 2014 18:32 Go to previous messageGo to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
On 6/14/2014 11:08 AM, richard wrote:
>
> foreach($master as &$ma)
> $tmp[] = &$ma["date"];
> array_multisort($tmp, $master);
> foreach($master as &$ma)
> echo $ma["date"]."<br/>";
>

http://www.php.net/manual/en/language.references.pass.php
[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: Wed Dec 04 19:24:47 GMT 2024

Total time taken to generate the page: 0.04037 seconds