function parameters by reference "&"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scripper
    New Member
    • Sep 2006
    • 1

    function parameters by reference "&"

    in my project i am using the possibility to pass parameters by reference, ('&' leading the parametername)

    I would like to ask, why this feature is being "deprecated "? It is a good possiblity to deal with parameters in recursive programing techniques.

    Is it possible, to declare byreference in a other way then by leading "&"?
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Scripper.

    Read here for more information on how to pass variables by reference properly in PHP:

    PHP: Passing by Reference - Manual

    Comment

    Working...