Friday, April 22, 2011

Float key for new element of array

Spent lot of time today to find bug...
Adding new element to array:
What wrong here? If $k will be float, key will be other, transformed to integer. It's not a bug, it's 'feature' (see manual), but... Strange feature.

No comments:

Post a Comment