note 106272 deleted from ref.array by danbrown
| From: | danbrown@php.net | Date: | Mon, 24 Oct 2011 16:00:34 +0000 |
| Subject: | note 106272 deleted from ref.array by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-184102@lists.php.net to get a copy of this message | ||
Note Submitter: happy [dot] me seven (number) [ at ] hot dot dot
----
@dennis at DONTSPAMME dot born05 dot nl
Regarding copying arrays... what's wrong with
<?php
$array = array('foo' => 'bar', 'bar' => 'foo');
$newCopy = $array;
?>
Works for me.