$array['12'] will automagicly become $array[12]
however
$array['012']
will always be a string index
-Jason
- Original Message -
From: "Daniel Lorch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 3:23 PM
Subject: [PHP-DEV] Array vs Hashes
> Hi,
>
> I do
On Mon, 03 Dec 2001, Daniel Lorch wrote:
> Hi,
>
> I don't know whether this was already discussed before, but ..
>
> have you ever though about the fact that PHP is not very cleanly
> designed when looking at Arrays and Hashes? How can I predict whether
> a array/hash is sorted by it's INTEGER