Re: difference between indexed and associative arrays?

From: Date: Tue, 04 Apr 2017 22:02:42 +0000
Subject: Re: difference between indexed and associative arrays?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-326048@lists.php.net to get a copy of this message
On Tue, 2017-04-04 at 14:54 -0700, Jeffry Killen 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. > JK > 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. --  Thanks, Ash http://www.ashleysheridan.co.uk

« previous php.general (#326048) next »