{Answered} The &-Operator

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
titeroy
Forum Newbie
Posts: 8
Joined: Mon Mar 01, 2010 12:21 pm

{Answered} The &-Operator

Post by titeroy »

In some example code I've seen someone using the "&" before a function, like:

function &foo()
{
<code>
}

I just would like to know what this operator does.
Hope you understand that it is impossible to search for the "&" ...

TIA
Last edited by titeroy on Sat Mar 13, 2010 11:49 am, edited 1 time in total.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: The &-Operator

Post by Eran »

titeroy
Forum Newbie
Posts: 8
Joined: Mon Mar 01, 2010 12:21 pm

Re: The &-Operator

Post by titeroy »

TNX - got it...
Post Reply