Re: How to test that an array is 'indexed' vs 'associative'
- From: Daniel Klein <danielk@xxxxxxxxxxxxxxxx>
- Date: Sat, 31 May 2008 10:16:22 -0400
On Sat, 31 May 2008 07:01:07 -0700 (PDT), jpedrobarbosa@xxxxxxxxx wrote:
my opinion is dont check it. just retreve the values with
"array_values"
I wish it was that easy but associative arrays are like 'hash tables' so the
values will not be in the proper order.
Daniel Klein
Cuyahoga Falls, OH
.
- Follow-Ups:
- Re: How to test that an array is 'indexed' vs 'associative'
- From: Michael Fesser
- Re: How to test that an array is 'indexed' vs 'associative'
- References:
- How to test that an array is 'indexed' vs 'associative'
- From: Daniel Klein
- Re: How to test that an array is 'indexed' vs 'associative'
- From: jpedrobarbosa
- How to test that an array is 'indexed' vs 'associative'
- Prev by Date: Re: using fopen() in write mode is failing
- Next by Date: Re: Creating a simple hitcounter for PHP web pages. (saves to files)
- Previous by thread: Re: How to test that an array is 'indexed' vs 'associative'
- Next by thread: Re: How to test that an array is 'indexed' vs 'associative'
- Index(es):
Relevant Pages
|