Will this foreach copy the values in memory?

skindu26

New Member
Example:\[code\]foreach ($veryFatArray as $key => $value) {\[/code\]Will the foreach assign the value behind the $key by reference to $value, or will $value be a copy of what's stored in the array? And if yes, how could I get an reference only? The array values store pretty big amounts of data so copying them is not really good.
 
Back
Top