Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Hash::sort()'s $dir accepts SORT_DIR/SORT_ASC ? #13392
This is a (multiple allowed):
What you did
I feel Hash::sort() is similar to
What you expected to happen
Hash::sort() accepts SORT_xxx constants.
Many developers use IDE or editors which has code complete feature, so working with constants will benefit for their DX.