I have a set of strings containing characters in a PHP script, I need to sort those characters in each string.
For example:
"bac" -> "abc"
"abc" -> "abc"
"" -> ""
"poeh" -> "ehop"
These characters don't have accents and are all lower case. How can I perform this in PHP?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…