Re: [PHP] difference between indexed and associative arrays?
- Date: Tue, 04 Apr 2017 23:02:42 +0100
- From: AshleySheridan <ash@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [PHP] difference between indexed and associative arrays?
On Tue, 2017-04-04 at 14:54 -0700, Jeffry Killen wrote:
> > Is there a function that will produce the difference between indexed
> > associative arrays, without actually testing for string or integer
> > (Although I realize that arrays can be mixed string and integer
> Thank you for time and attention.
Have you looked at http://php.net/manual/en/function.array-diff-key.php
I don't understand fully what you want from your question, but
array_diff_key() looks like a good place to start.