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 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 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 Link to comment https://forums.phpfreaks.com/topic/255079-function-issue/#findComment-1307929 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.