3

Possible Duplicate:
What does it mean to start a PHP function with an ampersand?

hi

Why is it that some php functions have a '&' in their signature for example

function &getData()
Community
  • 1
  • 1
Anand Sunderraman
  • 7,416
  • 30
  • 85
  • 145

1 Answers1

6

It returns a reference to a variable.

SLaks
  • 837,282
  • 173
  • 1,862
  • 1,933