blob: 5c6267d6120d269cc49dae5179ee0d856d617b35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
Bug #79868: Sorting with array_unique gives unwanted result
--FILE--
<?php
var_dump(array_unique(['b', 'a', 'b'], SORT_REGULAR));
?>
--EXPECT--
array(2) {
[0]=>
string(1) "b"
[1]=>
string(1) "a"
}
|