Actions
Task #64322
closedStory #64327: Unit test compatibility with HHVM
Make ArrayUtilityTest work on HHVM
Start date:
2015-01-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:
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
Actions