note 102991 deleted from ref.array by thiago
| From: | thiago@php.net | Date: | Fri, 18 Mar 2011 19:36:02 +0000 |
| Subject: | note 102991 deleted from ref.array by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177986@lists.php.net to get a copy of this message | ||
Note Submitter: danikaze at gmail dot com
----
For dennis:
You can copy an array just with $a1 = $a2;
If that doesn't work for you, use reference.
And, if it still doesn't work... use this:
eval('$a1 = '.export_var($a2,1).';');
^^