Re: Re: does array_slice not work on multidimensional arrays?
| From: | Nisse Engström | Date: | Sat, 08 Aug 2009 14:41:25 +0000 |
| Subject: | Re: Re: does array_slice not work on multidimensional arrays? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296475@lists.php.net to get a copy of this message | ||
On Sat, 8 Aug 2009 08:29:36 -0600, John Butler wrote:
> It seems clear to me, but do you also agree that my evidence is that
> array_slice() does NOT work on multi-dimmed arrays on v.4.3.9?
> Here is the evidence:
>
> this:
>
> var_dump($BuildPerUniqueDateArray);
> echo"\n\n~~~~~~~~~~~~~\n\n";
> array_slice($BuildPerUniqueDateArray, 1, 2);
> var_dump($BuildPerUniqueDateArray);
It seems clear to me that you are dumping /the same/
array twice.
/Nisse