To any PHP developers here, I have come across the following in some code I am trying to debug:
$cart =& $_SESSION['cart'];
I've not come across the =& operator before and can't find any information about it on the Internet. I assume this is for adding one array to another, but because I can't track down the bug in the code, I need to make sure this isn't part of the problem.
$cart =& $_SESSION['cart'];
I've not come across the =& operator before and can't find any information about it on the Internet. I assume this is for adding one array to another, but because I can't track down the bug in the code, I need to make sure this isn't part of the problem.