The string returned in the background needs to disrupt the character sequence in the string and then output it. I thought of splitting the string into an array and then using the shuffle () of the array to disrupt the array, finally, the array is spliced into a string and then output, but the efficiency is too low. How can we achieve this demand elegantly? The string returned in the background needs to disrupt the character sequence in the string and then output it. I thought of splitting the string into an array and then using the shuffle () of the array to disrupt the array, finally, the array is spliced into a string and then output, but the efficiency is too low. How can we achieve this demand elegantly?
Reply content:
The string returned in the background needs to disrupt the character sequence in the string and then output it. I thought of splitting the string into an array and then using the shuffle () of the array to disrupt the array, finally, the array is spliced into a string and then output, but the efficiency is too low. How can we achieve this demand elegantly?
Echo str_shuffle ('HTTP: // segmentfault.com/q/10379003776023'); // q/20730hg/a70fptlnee6t3s0/11 t/: otucm0020.m0