An Ampersand (&) before a function means? [duplicate]
I know &
is used to create references.
But I wonder what having a &
before a function name means:
function &DB($params = '', $active_record_override = FALSE) { // code }
It returns the result by reference. See the manual entry for it here.
精彩评论