Re: [PHP] difference between indexed and associative arrays?
- Date: Tue, 4 Apr 2017 16:00:30 -0600
- From: Ryan Pallas <derokorian@xxxxxxxxx>
- Subject: Re: [PHP] difference between indexed and associative arrays?
I'm not sure I follow... Do you want array_diff but without relying on
keys? If so you could just wrap both arguments in an array_values call
could you not?
On Apr 4, 2017 15:55, "Jeffry Killen" <jekillen@xxxxxxxxxxx> wrote:
> Is there a function that will produce the difference between indexed and
> associative arrays, without actually testing for string or integer indices?
> (Although I realize that arrays can be mixed string and integer indeces.)
> Thank you for time and attention.
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php