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,008
  • 28
  • 81
  • 143

1 Answers1

6

It returns a reference to a variable.

SLaks
  • 800,742
  • 167
  • 1,811
  • 1,896