Answer the question
In order to leave comments, you need to log in
How to sort the values in such a string?
$str = '[5][22][2]'; // допустим есть такая строка
How to sort them in ascending order? [2][5][22]
At least explain in theory, then I'll figure it out myself
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question