0

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 }
Chris Barlow
  • 3,214
  • 4
  • 29
  • 51
never_had_a_name
  • 85,690
  • 100
  • 264
  • 377

1 Answers1

5

It returns the result by reference. See the manual entry for it here.

PatrikAkerstrand
  • 44,619
  • 11
  • 77
  • 94