PHP references (ampersand)
This question already has an answer here:
Returning by reference is useful when you want to use a function to find to which variable a reference should be bound. Do not use return-by-reference to increase performance. The engine will automatically optimize this on its own. Only return references when you have a valid technical reason to do so. To return references, use this syntax:
From the PHP manual Returning References
链接地址: http://www.djcxy.com/p/57250.html上一篇: 在PHP中为函数名添加'&'是什么意思?
下一篇: PHP引用(&符)