+ 1
What do you call this type of Variable &$a
I have come across variable such as $a and $b but what does the and symbol does at the start of the variable..
1 Answer
+ 2
It means instead of assigning a value to the variable $a , it will just assign a reference to the variable.
The ampersand preceding a variable represents a reference to the original