Fix your clock!
Post like theese really screws up the layout in my newsreader!
--
Kim Steinhaug
---
There are 10 types of people when it comes to binary numbers:
those who understand them, and those who don't.
--
All arrays in PHP are associative; we sometimes use integers to refer to
them, but the order of the array internally is not necessarily the same as
the integers; indeed, any array can have "holes" in them. So the question is
moot.
"There are no different indexed and associative array types in PHP,
No functions that I can think of but you can write one like this:
$arrayType = 'numeric';
foreach($myArray as $key => $value) {
if(!is_numeric($key)) {
$arrayType = 'associative';
}
}
Also remember that an array can be both!
Larry
> Is there a way to determine if an array
3 matches
Mail list logo