--TEST-- Regression: sort() and copy-on-write. --EXTENSIONS-- intl --FILE-- --EXPECT-- array ( 0 => 'a', 1 => 'b', 2 => 'c', ) array ( 0 => 'a', 1 => 'b', 2 => 'c', ) array ( 0 => 'b', 1 => 'a', 2 => 'c', ) array ( 0 => 'а', 1 => 'б', 2 => 'в', ) array ( 0 => 'а', 1 => 'б', 2 => 'в', ) array ( 0 => 'в', 1 => 'а', 2 => 'б', )