tags:

views:

45

answers:

1

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 }
+4  A: 

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

PatrikAkerstrand