标签: php function ampersand
可能重复: What does it mean to start a PHP function with an ampersand?
喜
为什么有些php函数有'&'在他们的签名中,例如
function &getData()
答案 0 :(得分:6)
It returns a reference to a variable