---
layout: doc
title: contrib / shuffle.pre
---
# shuffle

### NAME

    shuffle

### SYNOPSIS

    mixed *shuffle(mixed *arr);

### DESCRIPTION

    randomly reorders the elements of the given array (changes original!!!)
