Mecha CMS

Helper functions.

shake

Randomize array order.

2.2.0

shake(array $value, $preserve_key = true);
shake(array $value, callable $fn);

Example:

$A = shake([1, 2, 3, 4, 5]);

0 Comments

No comments yet.