1) How to copy a multi-dimensional array into another array as a value such that changes made to the original array does not get reflected in the replicated(copied) array?
2) How to convert an object into an array?
A sample code snippet accompanying the above mentioned questions will be helpful. Kindly let me know the solution.
Copying a multi-dimensional array
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Copying a multi-dimensional array
1. Just assign it
2. get_object_vars() maybe
Maybe you could provide a link to the sample code so we could see it too.
2. get_object_vars() maybe
Maybe you could provide a link to the sample code so we could see it too.
(#10850)