Assign a variable reference to another variable
$MyVariableA = "abc"
$MyVariableB = &$MyVariableA; //Store a reference (pointer) to MyVariableA
$MyVariableB .= "def";
echo $MyVariableA; //Outputs "abcdef"
echo $MyVariableB; //Outputs "abcdef"
Array references
Works just the same as for variables.
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.