Function permute
Calculates all the possible permutations (orders) of array. should not be called on huge arrays (bigger than like 10 elements.) returns an array containing each permutation.
Package: SMF
Deprecated: since 2.1
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Deprecated: since 2.1
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
array |
$array |
An array |
array
|
An array containing each permutation |