Issue Task Closed

#64322Make ArrayUtilityTest work on HHVM

Tymoteusz Motylewski 01/16/15, 22:55 updated 10/02/18, 11:46

Description

ArrayUtilityTests expect that order of elements whith the same value
will not change. PHP doesn’t guarantee that, so it doesn’t make
sense to test this behaviour.

This test fails under HHVM which has different sorting
implementation then PHP 5.

Actually PHP 7 is going into the same direction, so sooner
or later this test will fail also under PHP.
See https://github.com/php/php-src/pull/999
and https://github.com/facebook/hhvm/issues/4649

Reviews 1