PHP - The "&" symbol

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gregerly
    Recognized Expert New Member
    • Sep 2006
    • 192

    PHP - The "&" symbol

    Hello All,

    In PHP, what does the "&" syntax mean? An example of this is:

    [PHP]$_POST = &$HTTP_POST_VAR S;[/PHP]

    I'm not so much concerned with the other parts of the above line except the "&" symbol.

    Thanks
  • mwasif
    Recognized Expert Contributor
    • Jul 2006
    • 802

    #2
    This is called reference. For detailed info look at PHP Manual.

    If you still unable to understand, please post back.

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      To echo mwasif's advice:
      References can be *very* confusing. If you have any questions, feel free to post back anytime :)

      Comment

      Working...