hello, I don't know if it's really the dictionary object because i have only a brief idea what that is. i know php arrays are very flexible and it allows you to use any alphanumeric string as the key. however, sometimes i still wish to use more than alphanumeric values for the key. for example, i'm trying to build a graph of my raffle script results. here's the code i'd love to use but can't
$win_results[$net_win][] = $username;
The $net_win is a number that may be negative. If I can use "-" in the array key, i may then sort on the key and get a very good graph. because of the limitation on the key, i can not do that. i was wondering if there is an object in php that allows you to make an array but has no limitations on what can be used as the key? i know there is no built-in object php but i was wondering if someone has written one. thanks!