Is there some way to assign arrays without copying them? For example:
$foo = array();
$bar = $foo;
$foo [] = "apple";
echo count($bar);
Will print 0 instead of 1. I want to be able to modify the array via $foo and have the updates show up in $bar as well! Is this possible?