Array turns up empty

Array turns up empty

http://paste2.org/2kHt3cDX

I have the above block of code. As you can see, it's an attempt to make a unique keys for an associative array, that I can alter send to a .php page in JSON format (stringify).

However, the array keeps turning up empty? Any ideas as to why that may be?