And in C++, a variable is either declared as a reference and acts like one, or it's declared as a value and acts like one. It can't change behavior halfway through a function.
(Well, ignoring operator overloading anyway… you could conceivably import PHP's concept of variables and references into C++.)
(Well, ignoring operator overloading anyway… you could conceivably import PHP's concept of variables and references into C++.)