Give a string all possible combinations (recursive)

xiaoxiao2021-03-06  41

/ ** Recursive function, parameter $ AR data array $ M Complex length $ S Working Variables for cache ** / function foo ($ AR, $ M, $ S = ') {IF ($ M) {IF == 0) {Echo "$ S"; // If the length is enough, the result is the result} else {for ($ I = 0; $ I

Foo ($ AR, 5);?>

转载请注明原文地址:https://www.9cbs.com/read-74947.html

New Post(0)