NYCPHP Meetup

NYPHP.org

[nycphp-talk] Best way to copy array by value

Chris Shiflett shiflett at php.net
Sun Feb 25 22:41:51 EST 2007


Aaron Fischer wrote:
> I need to copy an array by value, not by reference.

PHP copies on demand, so as soon as you change one, it does what you'd
expect.

Chris

-- 
Chris Shiflett
http://shiflett.org/



More information about the talk mailing list