[Solved] PHP parameter variable vs reference [duplicate]
A parameter passage by value – value of a variable is passed. $b = 1; function a($c) { $c = 2; // modifying this doesn’t change the value of $b, since only the value was passed to $c. } a($b); echo $b; // still outputs 1 A parameter pass by reference? – a pointer to … Read more