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,274
  • 4
  • 31
  • 52
never_had_a_name
  • 90,630
  • 105
  • 267
  • 383

1 Answers1

5

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

PatrikAkerstrand
  • 45,315
  • 11
  • 79
  • 94