purencool Posted January 15, 2012 Share Posted January 15, 2012 Hi php freaks I have been going through someone elses code and have seen this below. What does the & at the start of the function do? function &foo(){} Thanks Quote Link to comment https://forums.phpfreaks.com/topic/255079-function-issue/ Share on other sites More sharing options...
AyKay47 Posted January 15, 2012 Share Posted January 15, 2012 http://php.net/manual/en/language.references.pass.php Quote Link to comment https://forums.phpfreaks.com/topic/255079-function-issue/#findComment-1307918 Share on other sites More sharing options...
purencool Posted January 15, 2012 Author Share Posted January 15, 2012 thanks Quote Link to comment https://forums.phpfreaks.com/topic/255079-function-issue/#findComment-1307929 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.