News for hackers. Stuff that matters.
Re:Supercolliding a PHP array (inserting 65536 elements take... by nikic on Thursday December 29, 2011 @08:33AM (#3403596)
Actually this is not specific to PHP at all. Ruby just uses a different hashing algorithm so you need to set different keys to get these results.

This is a problem that hashtables have in general (unless they are randomized).

Re:Supercolliding a PHP array (inserting 65536 elements take... by mdwrigh2 on Thursday December 29, 2011 @12:01PM (#3404265)
Ruby 1.9's hash function has been randomized for awhile now, and I believe that 1.8.7 got a patch fixing this yesterday.